If Action

The action module for this action is "vb/action/builtin/ifAction".

This action will evaluate an expression and return a 'true' outcome if the expression evaluates to true, and a 'false' outcome otherwise.

Parameter Name Description
condition The expression to evaluate.

For example:

"myActionChain": {
  "root": "myAction",
  "actions": {
    "myAction": {
      "module": "vb/action/builtin/ifAction",
      "parameters": {
        "condition": "{{ $chain.results.myRestAction.code === 404 }}"
      },
      "outcomes": {
        "true": "...",
        "false": "..."
      }
    }
  }
}