Switch
This Object executes one of few sequences depending on the specified condition.
Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Variable | Object | Yes | The name of the variable to be tested. |
| Stop Reason | String | Yes | Reason for terminating policy. |
Output Parameters
| Name | Type | Description |
|---|---|---|
| Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
| Result String | String | Object execution error details. |
Example Input Parameters
| Name | Type | Required | Example |
|---|---|---|---|
| Variable | Object | Yes | < Link to an output of an object > |
| Stop Reason | String | Yes | Required file not found. |
