sequential-workflow-designer icon indicating copy to clipboard operation
sequential-workflow-designer copied to clipboard

Method to find out if a task is within a loop block

Open raBot1994 opened this issue 1 year ago • 1 comments

HI , is there any out of the box method to find out whether a selected task is a part of a foreach block or not?

If i have the task which is inside an if condition, which is further nested in a looping block, I would still need the method to return true when called, for this task.

raBot1994 avatar Mar 12 '24 06:03 raBot1994

Hello @raBot1994!

Please check this article. By using the getParents method you can get all parent steps.

b4rtaz avatar Mar 12 '24 07:03 b4rtaz