Is there any way to get the number of the lane which is running in multi instance flows in oo?
Cybersecurity
DevOps Cloud (ADM)
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?
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