Jython Script pipeline exit

Hello,
i need to call return/exit out of whole script pipeline for event.
I have three steps in script, and i want to call exit all folloving action (including curent line).
Is there any posibility to exit script execution?

Thank you

image

The actions are not in a pipeline. They run concurrently. If you want part of your action to be conditional, you must use a single script action.

2 Likes

Yeah, this is something we need to clear up more in the UI. Technically, ordering does matter there - but only for actions that run entirely in the frontend/clientside - meaning, basically, everything except scripts. The reason there’s (generally) a corresponding scripting function for every client-side action is so that you can do more advanced control flow yourself - but you must do it all it one script block.

2 Likes

Thank you for clarification.
I was confused by UI, because, you can sort actions in script.
So I deducted, that they run in sequence.
By the way i liked idea to have multiple steps to logically divide action scripts into steps.
For example:

  1. Form validation
  2. Confirmation
  3. Clearing up form

I can do it all in one script, but it is not so nice solution. :slight_smile:

Thank you