cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mustaque_Ehiya
Helper III
Helper III

Azure Devops _ when a work item is updated trigger is not getting execxuted.

Hi,

 

I am trying to build a flow in ADO when a work item is updated (primarily when the state is changed from New to Active), but it is failing without execution and throwing different errrors.  Please let me know how to fix this error.

Note - this trigger is showing as a 'Preview'.

 

notinitiated.PNGbad gateway.PNG520-Api token failure.PNG520.PNG

2 ACCEPTED SOLUTIONS

Accepted Solutions

Hi @Mustaque_Ehiya This could be a caching issue with the connector. Can you please delete the current connection to azure devops and create a new connection after refreshing the page? Alternatively, how are you testing this? I am hoping you are using a fresh test and not testing based on any previous test runs data.  

 

View solution in original post

Hey @NKK 

 

From the error, I can see that you are wrongly referring the item ID in the update action. Can you share a screenshot of the update work item in edit mode so that I can better identify the issue and assist you with this. 

 

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

24 REPLIES 24

HI @Mustaque_Ehiya 

 

Can you please share a screenshot of the flow trigger?

wi-updated.PNG

@yashag2255- Building a simple one to test the trigger but this is not working.

Hi @Mustaque_Ehiya 

 

Can you share some more details? Which fields are you updting in Azure Devops and what fields do you want to track in the flow?

 

I tried recreating the flow and it works just fine in my case. 

 

Can you also try logging out of the browser and close the current session and start a fresh session and check if you still are facing the issue?

 

wi-updated.PNG

 

Hi @yashag2255  this is my flow and I tried a new session but still it is not getting executed.  I tried from Edge and Chrome browsers but results are same.

Hi @Mustaque_Ehiya This is wierd. I am doing the exact same thing and it is working just fine in my environment. (Along with the condition in the Agile project type). Can you confirm to me that the project name and the team names etc. are being selected from the drop downs in flow and you are not manually typing in those?

@yashag2255- Yes, nothing was typed manually and they were selected only from the drop down. 

Additional info - I created this flow using 'Automated from Blank' option.

Hi @Mustaque_Ehiya 

 

Can you run the flow again and change some value on the user story in Az DevOps and post a screenshot of the error that you are getting?

 

 

@Mustaque_Ehiya This shouldn't be a problem as long as you are using the right credentials for the connection to azure devops. 


@Mustaque_Ehiya wrote:

Additional info - I created this flow using 'Automated from Blank' option.


 

Timeout.PNG

 

I got this 429 error - RATE LIMIT IS EXCEEDED.  .. once.

 

I logged out from Flow, closed the browser and opened a new session and ran the flow again but still same results - this flow is not getting executed and it runs for a long time and throwing different errors each time.

 

This is the message I got  from the last flow.

 

 

Hi @Mustaque_Ehiya 

 

I have been trying that at my end too and the flow takes more time than usual to trigger and get the response once the item is modified. 

 

Based on the error, it seems that the flow test is not recognising any action performed in Azure Devops. Can you start a new flow and -> manually triggered-> action is list items from azure devops and select the same project as in this flow and put the task id as one of the tasks that you are trying to change and get the information. I just want to check it is the right project and the task is coming in from other actions. 

 

Hope this Helps!

No difference in any error logs today.  I got the same time out errors and 429 errors.  Additionally had a new error.

 

1306-4.PNG1306-2.PNG1306-1.PNG

 

CLIENT REQUEST ABORTED error was the new one shown today.  In the TRIGGER, I have added all the values that I can fill in.  Area and Iteration Path were manually copied as Text.

 

1306-5.PNG

 

Please find below my ADO details fyi.  Pls let me know if I I need to fill in any value differently.

 

1306-6.PNG

 

Note - Below is the run time log for today.  As you see, they run for a very long time 15-20 mts and is getting stuck in the trigger itself and not going to the next step.

 

1306-7.PNG

Hi @Mustaque_Ehiya 

 

Can you please create a new test item and see what all states are available? I am guessing we are looking into a different project type that has different state values!

@yashag2255-  in the trigger I am not setting any state.   As you see, I am filling in only the details shown in the TRIGGER and it is not getting executed.  Do I need to fill in anything differently in the below fields?

1306-5.PNG

Hey @Mustaque_Ehiya  Got it. Please remove the trigger flow manually (the triiger button) from the flow. You are using two triggers in flow here (The manual button and the When a work item is updated) and you cannot use 2 trigers in one flow. Please remove the first one. The "When a work item is updated" is sufficient enough for this flow.

 

Hope this Helps!

No luck this time as well.

 

I created a new flow with only the WORK ITEM UPDATED trigger .. with mandatory values only and all the fields populated... --> Same results --> Got 429 error.

 

1306-9.PNG1306-8.PNG

 

To check if there is any issue with the ADO Organization that I am working with (though it works fine for me with creating and updating items in that)... I created a copy and changed it to a different organization (OUR LIVE) and tried, same 429 error.

 

1306-10.PNG

 

note - one thing i observed is --> When i clicked the TEST button for the flow and moved to the Kanban board and came back (even without updating any story), the flow got triggered...  Many resources are active in this Team.  They might be doing some update .. But I am not exactly sure and cannot confirm on this.

 

Can you pls check how it works on your items (whether the flow is triggered even without any updates) ?

Hi @Mustaque_Ehiya 

 

Yes. I did test with my work items and it does not trigger unless and until a work item is changed. What Flow plan are you using? In the first error it says that too many tries and try again in 9 seconds and this is a very wierd error. Did you try changing the concurrency control settings in the flow trigger (by pressing the ... on the action and clickin on settings)?

I do not change any settings w.r.t. flow other than adding values for the trigger and testing it.    

I will confirm on the trigger behavior again with isolated ORG where I am the only user. 

Hi - When I test the flow and move across tabs and came back to the FLOW screen, the flow got executed and failed with 429 error.

 

Note - I confirmed that I am the only user in my test org and I did no update to any user story. but the flow got triggered when I revisited the FLOW screen after moving across the opened tabs in the browser.

 

1403-1.PNG

Helpful resources

Announcements

Power Platform Connections - Episode 7 | March 30, 2023

Episode Seven of Power Platform Connections sees David Warner and Hugo Bernier talk to Microsoft MVP Dian Taylor, alongside the latest news, product reviews, and community blogs.     Use the hashtag #PowerPlatformConnects on social media for a chance to have your work featured on the show!      Show schedule in this episode:    0:00 Cold Open 00:30 Show Intro 01:02 Dian Taylor Interview 18:03 Blogs & Articles 26:55 Outro & Bloopers    Check out the blogs and articles featured in this week’s episode:    https://francomusso.com/create-a-drag-and-drop-experience-to-upload-case-attachments @crmbizcoach https://www.youtube.com/watch?v=G3522H834Ro​/  @pranavkhuranauk https://github.com/pnp/powerapps-designtoolkit/tree/main/materialdesign%20components @MMe2K​ https://2die4it.com/2023/03/27/populate-a-dynamic-microsoft-word-template-in-power-automate-flow/ @StefanS365 https://d365goddess.com/viva-sales-administrator-settings/ @D365Goddess https://marketplace.visualstudio.com/items?itemName=megel.mme2k-powerapps-helper#Visualize_Dataverse_Environments @MMe2K    Action requested:  Feel free to provide feedback on how we can make our community more inclusive and diverse.    This episode premiered live on our YouTube at 12pm PST on Thursday 30th March 2023.    Video series available at Power Platform Community YouTube channel.    Upcoming events:  Business Applications Launch – April 4th – Free and Virtual! M365 Conference - May 1-5th - Las Vegas Power Apps Developers Summit – May 19-20th - London European Power Platform conference – Jun. 20-22nd - Dublin Microsoft Power Platform Conference – Oct. 3-5th - Las Vegas    Join our Communities:  Power Apps Community Power Automate Community Power Virtual Agents Community Power Pages Community    If you’d like to hear from a specific community member in an upcoming recording and/or have specific questions for the Power Platform Connections team, please let us know. We will do our best to address all your requests or questions.       

Announcing | Super Users - 2023 Season 1

Super Users – 2023 Season 1    We are excited to kick off the Power Users Super User Program for 2023 - Season 1.  The Power Platform Super Users have done an amazing job in keeping the Power Platform communities helpful, accurate and responsive. We would like to send these amazing folks a big THANK YOU for their efforts.      Super User Season 1 | Contributions July 1, 2022 – December 31, 2022  Super User Season 2 | Contributions January 1, 2023 – June 30, 2023    Curious what a Super User is? Super Users are especially active community members who are eager to help others with their community questions. There are 2 Super User seasons in a year, and we monitor the community for new potential Super Users at the end of each season. Super Users are recognized in the community with both a rank name and icon next to their username, and a seasonal badge on their profile.  Power Apps  Power Automate  Power Virtual Agents  Power Pages  Pstork1*  Pstork1*  Pstork1*  OliverRodrigues  BCBuizer  Expiscornovus*  Expiscornovus*  ragavanrajan  AhmedSalih  grantjenkins  renatoromao    Mira_Ghaly*  Mira_Ghaly*      Sundeep_Malik*  Sundeep_Malik*      SudeepGhatakNZ*  SudeepGhatakNZ*      StretchFredrik*  StretchFredrik*      365-Assist*  365-Assist*      cha_cha  ekarim2020      timl  Hardesh15      iAm_ManCat  annajhaveri      SebS  Rhiassuring      LaurensM  abm      TheRobRush  Ankesh_49      WiZey  lbendlin      Nogueira1306  Kaif_Siddique      victorcp  RobElliott      dpoggemann  srduval      SBax  CFernandes      Roverandom  schwibach      Akser  CraigStewart      PowerRanger  MichaelAnnis      subsguts  David_MA      EricRegnier  edgonzales      zmansuri  GeorgiosG      ChrisPiasecki  ryule      AmDev  fchopo      phipps0218  tom_riha      theapurva  takolota     Akash17  momlo     BCLS776  Shuvam-rpa     rampprakash  ScottShearer     Rusk  ChristianAbata     cchannon  Koen5     a33ik  Heartholme     AaronKnox  okeks      Matren   David_MA     Alex_10        Jeff_Thorpe        poweractivate        Ramole        DianaBirkelbach        DavidZoon        AJ_Z        PriyankaGeethik        BrianS        StalinPonnusamy        HamidBee        CNT        Anonymous_Hippo        Anchov        KeithAtherton        alaabitar        Tolu_Victor        KRider        sperry1625        IPC_ahaas      zuurg    rubin_boer   cwebb365   Dorrinda   G1124   Gabibalaban   Manan-Malhotra   jcfDaniel   WarrenBelz   Waegemma   drrickryp   GuidoPreite    If an * is at the end of a user's name this means they are a Multi Super User, in more than one community. Please note this is not the final list, as we are pending a few acceptances.  Once they are received the list will be updated. 

Register now for the Business Applications Launch Event | Tuesday, April 4, 2023

Join us for an in-depth look into the latest updates across Microsoft Dynamics 365 and Microsoft Power Platform that are helping businesses overcome their biggest challenges today.   Find out about new features, capabilities, and best practices for connecting data to deliver exceptional customer experiences, collaborating, and creating using AI-powered capabilities, driving productivity with automation—and building towards future growth with today’s leading technology.   Microsoft leaders and experts will guide you through the full 2023 release wave 1 and how these advancements will help you: Expand visibility, reduce time, and enhance creativity in your departments and teams with unified, AI-powered capabilities.Empower your employees to focus on revenue-generating tasks while automating repetitive tasks.Connect people, data, and processes across your organization with modern collaboration tools.Innovate without limits using the latest in low-code development, including new GPT-powered capabilities.    Click Here to Register Today!    

Check out the new Power Platform Communities Front Door Experience!

We are excited to share the ‘Power Platform Communities Front Door’ experience with you!   Front Door brings together content from all the Power Platform communities into a single place for our community members, customers and low-code, no-code enthusiasts to learn, share and engage with peers, advocates, community program managers and our product team members. There are a host of features and new capabilities now available on Power Platform Communities Front Door to make content more discoverable for all power product community users which includes ForumsUser GroupsEventsCommunity highlightsCommunity by numbersLinks to all communities Users can see top discussions from across all the Power Platform communities and easily navigate to the latest or trending posts for further interaction. Additionally, they can filter to individual products as well.   Users can filter and browse the user group events from all power platform products with feature parity to existing community user group experience and added filtering capabilities.     Users can now explore user groups on the Power Platform Front Door landing page with capability to view all products in Power Platform.      Explore Power Platform Communities Front Door today. Visit Power Platform Community Front door to easily navigate to the different product communities, view a roll up of user groups, events and forums.

Microsoft Power Platform Conference | Registration Open | Oct. 3-5 2023

We are so excited to see you for the Microsoft Power Platform Conference in Las Vegas October 3-5 2023! But first, let's take a look back at some fun moments and the best community in tech from MPPC 2022 in Orlando, Florida.   Featuring guest speakers such as Charles Lamanna, Heather Cook, Julie Strauss, Nirav Shah, Ryan Cunningham, Sangya Singh, Stephen Siciliano, Hugo Bernier and many more.   Register today: https://www.powerplatformconf.com/   

Users online (1,798)