cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tejaswini1234 Helper IV
Helper IV

How to solve duplicate items created in azure devops when an sharepoint item is upadated?

azure.png1)I have created sharepoint list , when an sharepoint list item is created that time azure work item is created using flow

2)When work item is created its work item id  is saved in sharepoint list using update item 

3) but work item in  azure devops created infinite timeazure.png

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: How to solve duplicate items created in azure devops when an sharepoint item is upadated?

Hi @Tejaswini1234 

 

In the flow, do you want to create a work item only when an item is created in sharepoint or also when it is modified? 

 

If it is just when a new item is created in sharepoint, you should use the trigger when an item is created. The when an item is created/modified will trigger as and when there is some update/ modification in the sharepoint list and as you have the update item action in the flow, it will become an infinite loop. You can add an action to get a list of work items from azure devops and add a filter query to check if the title is same and if so, ignore or else create the work item. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1
Dual Super User
Dual Super User

Re: How to solve duplicate items created in azure devops when an sharepoint item is upadated?

Hi @Tejaswini1234 

 

In the flow, do you want to create a work item only when an item is created in sharepoint or also when it is modified? 

 

If it is just when a new item is created in sharepoint, you should use the trigger when an item is created. The when an item is created/modified will trigger as and when there is some update/ modification in the sharepoint list and as you have the update item action in the flow, it will become an infinite loop. You can add an action to get a list of work items from azure devops and add a filter query to check if the title is same and if so, ignore or else create the work item. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (9,830)