Flow name / sys_id

Ross Sonido
Tera Contributor

Hello to everyone,

 

Is it possible to get the current Flow's name / sys_id dynamically through data pill or script?

I have a case where I need to use either one to pass as input value to my custom action.

 

Thank you!

3 REPLIES 3

sr82
Giga Guru

Hi Ross,

 

Did you get answer for this? I have similar requirement to pass flow/subflow name as input parameter to a subflow.

Ross Sonido
Tera Contributor

Hi sr82,

 

No, I wasn't able to find the exact solution for this and went with a different approach. I'm sorry I cannot remember the details of why I needed this and which approach I went with.

It seems impossible since even if you can call a lookup record to sys_hub_flow table, you would need either the Flow name or the sys_id to be able to fetch one of them, which is not logical. Have you considered using system properties?

Etienne Galea M
Tera Contributor
Hello, you should be able to use FlowScriptAPI.getContextID()