web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Updating an entity aft...
Power Automate
Unanswered

Updating an entity after creating a child entity

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I've got a flow that triggers from an update to an Azure DevOps update - if a tag is added to a work item, create a child work item. That part works perfectly, but the problem lies in the way I built the flow, and its results. 

 

I don't know of a way to trigger a flow from the tag addition, so I look for the "When a work item is updated" trigger, and add a condition that specifies the tag I specify. Then I have a Yes/No flow: the Yes flow creates a child work item:

 

Link URL: dynamic content - [URL] The URL of the work item

Link Type: Hierarchy-reverse 

 

That part works beautifully. 

 

I thought I could add another step, so I don't keep adding child items any time the parent item is updated... which is to remove the tag, so no more updates create more child items (I will constantly update work items, and don't want a million duplicate children created as a result).

 

I don't think there's a way to remove an ADO tag with Power Automate, so I thought about a custom field - how about we trigger from the field update from the parent work item, create the child, then reset the parent work item's field so future  updates don't trigger the flow?

 

That sounded fantastic, but I can't get the "if YES" flow to reference the original work item, instead of the newly-created child. 

 

Advice?

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,705 Super User 2026 Season 1 on at

    usually you do this semaphore-y stuff with files. Presence of file = yes, absence of file = no.  Create the file from the trigger, create your child item if file exists, delete file after child item was created.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 953

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 622

Last 30 days Overall leaderboard