Multiple ABX action scripts or flows that run when a condition is satisfied using a switch element.

In some cases, the condition must be equal to true in order for the action to run. Other cases, as seen in this example, require parameter values to be met before an action can run. If none of the conditions are met the action flow fails.

version: 1
id: 1234
name: Test
inputs: ...
outputs: ...
flow: 
 flow_start:   
  next: forkAction 
forkAction:  
  fork:   
   next: [action1, action2] 
action1:    
   actionId: 8a769955653d33a8016546aaac1b0085 
   next: action3
action3:  
   actionId: 8a769955653d33a8016546aaac1b0085  
   next: action4  
action4: 
   actionId: 8a769955653d33a8016546aaac1b0085 
   next: action7  
action7:  
   actionId: 8a769955653d33a8016546aaac1b0085
   next: joinElement              
action2:  
  actionId: 8a769955653d33a8016546aaac1b0085 
  next: switchAction      
switchAction:  
  switch:      
  "${1 == 1}": action5    
  "${1 != 1}": action6
action5:   
  actionId: 8a769955653d33a8016546aaac1b0085 
  next: action8  
action6: 
  actionId: 8a769955653d33a8016546aaac1b0085 
  next: action8  
action8:  
 actionId: 8a769955653d33a8016546aaac1b0085
Note:

You can loop back to a previous action by assigning it as the Next: action. For example, instead of next: flow_end to end your action flow, you can enter next: action1 to rerun action1 and restart the sequence of actions.

Switch element