Is there any way to get the number of the lane which is running in multi instance flows in oo?
Cybersecurity
DevOps Cloud
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it!  Learn more
Is there any way to get the number of the lane which is running in multi instance flows in oo?
not aware of such method.
Hi,
It is possible to get the lane number as a variable within the MI lane by doing this:
- create a new input on one of the steps in the lane with use constant and value set to ${execution_thread_id}
- create a result on that step named laneNumber that takes its value from the input created previously and apply 2 filters on it: strip all characters up to and including : , and strip whitespace.
as can be seen below the lane number will change within each lane:
Hope this helps,
Vlad
Thank you VladM . It works for me :) However i whant to ask question to you about execution_thread_id? What exactly is the value of the execution_thread_id variable?
This is a composed internal variable used for the handling of the execution of parallel steps (multi instance, parallel step, nonblocking step) composed from an uuid that identifies the paralel step and the lane number. It is available for all AFL executions and is unique for each execution, meaning that using the variable will not interfere between several simultaneous executions of the same flow.
Thank you very much for the detailed information.