Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Original Run Vs Resubmitted Run in Logic apps

In Logic app, you would often come across a scenario to differentiate between the original run and if the run is Resubmitted via the Logic app portal(or Rest API)

the Resubmitted Runs reuse Client Tracking ID of the Original Run, so they can be correlated. So

IF RUNID= Clienttrackingid THEN Original RUN

IF RUNID ≠ ClientTrackingID THEN Resubmitted RUN.

  1. To differentiate in Portal

ORIGINAL RUN

RESUBMITTED RUN

2. To Differenciate at Runtime

You can get the ClientTrackingID using "@trigger().clientTrackingId" function and RunId using "@workflow().run.name" function 

"RUNID": {"inputs": "@workflow().run.name"

                            "ClientTrackingID": {"inputs": "@trigger().clientTrackingId",
                    ORIGINAL RUN
                             
                    RESUBMITTED RUN
                          

Share the post

Original Run Vs Resubmitted Run in Logic apps

×

Subscribe to Msdn Blogs | Get The Latest Information, Insights, Announcements, And News From Microsoft Experts And Developers In The Msdn Blogs.

Get updates delivered right to your inbox!

Thank you for your subscription

×