Operations Orchestration Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How to get RunID of the flow

SOLVED
Go to solution
Highlighted
jadda
Member

How to get RunID of the flow

Hi,

 

I would like to fetch Run ID of the flow and I want to mail same to user when result of the flow is a failure , Which makes user to check the report easiely.

 

Thanks

jadda Pavan Kumar

3 REPLIES
jadda
Member
Solution

Re: How to get RunID of the flow

The Reply given by one of our friend in Linkedin helps me to get RunID of flow . The summary as follows

 

 The run id is a variable ${run_id} which is automaticly filled when the flow is running. So you can add this variable ${run_id} somewhere in the flow, and after run you can check in central it's value:

 

 Please  find attachments for details.

george_cassar
Occasional Contributor

Re: How to get RunID of the flow

Other than the runId, are there any other 'hidden' variables that you know of that we could reference/utilise in any way?

ntt00015
Frequent Visitor

Re: How to get RunID of the flow

Hi,
These parameters are known as Global Context parameters. For example : execution_userid and run_id. You can see them in the Context Inspector tab while debugging in Studio.
And when the flow firstly starts there is an another parameter : execution_thread_id . This is a Step Context parameter.
//Add this to "OnDomLoad" event