How to get to the flow context generated for my RITM in a ton of executions to troubleshoot a particular context as an adminn?

siva_
Giga Guru

Hello All, 

 

I am triggering a flow in my workflow run script activity using executeflow api of the flow designer.  

executeFlow(String name, Map inputs, Number timeout)

As OOB flow context action is not available because of its visibility condition, is there a way , that i can access flow context id that got generated, so that as a admin when i want to troubleshoot any issue that came up in  a flow that ran i can easily navigate to its context.

 

Core Ask : What is the easiest way to get to the flow context that generated across for my RITM  ? 

 

Thanks 

Siva

10 REPLIES 10

Sagar Pagar
Tera Patron

Hello @Siva Kalyan Chatakonda ,

 

Navigate to "Active Flows" and personalize the "Source record" and "Source table" in list and open the flow context in Operation view for required RITM.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

siva_
Giga Guru

Thanks sagar for the reply. I already looked in it and found out that they are empty.

 

Regards

Hello @Siva Kalyan Chatakonda ,

 

I think there is an issue with the run script that you have used in workflow to call the flow.

Better to call the flows in the server side script you could use the "Code snippet" to copy the script to clipboard and use it in the run script.

Image for Ref.

find_real_file.png

 

When you check the Flow engine context and open the flow context in "Open in Operation view" you could find the details for which RITM it triggers.

 

Thanks,

Sagar Pagar

The world works with ServiceNow

Hello @Siva Kalyan Chatakonda,

 

Hope your doing well.
Let me know, did this solved your issue.

Thanks,
Sagar Pagar

 

The world works with ServiceNow