cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tejaswini1234
Level: Powered On

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
Super User
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!

1 REPLY 1
Super User
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!

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 231 members 5,676 guests
Please welcome our newest community members: