Method to find out if a task is within a loop block
Closed this issue · 1 comments
raBot1994 commented
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.
b4rtaz commented
Hello @raBot1994!
Please check this article. By using the getParents
method you can get all parent steps.