cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Zaemmel
Microsoft
Microsoft

Trigger flow when Azure Devops work item is updated to a certain state

I want to trigger a flow when a work item is updated to a certain state.  However, once that work item is in that state, I don't want it to trigger anymore.

 

I was hoping to do this by having a way to compare "old value" versus "new value", but didn't see a way to do that.

 

For example, trigger when a work item is transitioned to the "Proposed" state, but once in that state, if the work item is updated with comments, etc, I don't want the flow to trigger.

 

Thoughts?

1 REPLY 1
Brad_Groux
Super User II
Super User II

Don't worry about the trigger, worry about the operation. Add a condition to the flow, that checks if there is a "proposed" state value. If there is, do nothing. If there is not, put it in a proposed state. Further:

If you could provide an expanded screenshot of your Flow and steps, your Flow run history, and of any detailed error messages you're receiving we could likely better assist you. Also, for the best results, you may want to review How to write a good forum post.

If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE.

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (78,210)