cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Dual Super User III
Dual Super User III

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
Highlighted
Dual Super User III
Dual Super User III

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (6,480)