Forum Discussion
How To Exit Pipeline Successfully On Condition
- 1 year ago
Thanks Ben, I've got something like this set up and working. The issue is I can't add all my activities into the if activity as some of them are for loops and more if activites as well which aren't supported within an if activity.
I've reworked the pipeline to remove the loops and if conditions from within the if block and have got things working now. I've also started using pipeline return parameters which has helped as well.
hi russellhq ,
You can add a set variable activity after the getmetadata and use this variable in the if condition activity.
The variable can be a boolean type and you can use exactly the function that FabianSchut mentioned above inside this set variable and in the if condition you use (yourvariable==true)
Ben
Thanks Ben, I've got something like this set up and working. The issue is I can't add all my activities into the if activity as some of them are for loops and more if activites as well which aren't supported within an if activity.
I've reworked the pipeline to remove the loops and if conditions from within the if block and have got things working now. I've also started using pipeline return parameters which has helped as well.