Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 29128

Original Run Vs Resubmitted Run in Logic apps

$
0
0

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
                          

Viewing all articles
Browse latest Browse all 29128

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>