Files
developer.sailpoint.com/static/api-specs/idn/beta/schemas/WorkflowLibraryOperator.yaml
2022-09-26 21:59:54 -04:00

60 lines
1.7 KiB
YAML

title: Workflow Operator
type: object
properties:
id:
type: string
description: Operator ID.
example: "sp:compare-boolean"
name:
type: string
description: Operator friendly name
example: Compare Boolean Values
description:
type: string
description: Description of the operator
example: Compare two boolean values and decide what happens based on the result.
formFields:
type: array
description: One or more inputs that the operator accepts
items:
$ref: './WorkflowLibraryFormFields.yaml'
example:
[
{
"description": "Enter the JSONPath to a value from the input to compare to Variable B.",
"helpText": "",
"label": "Variable A",
"name": "variableA.$",
"required": true,
"type": "text"
},
{
"helpText": "Select an operation.",
"label": "Operation",
"name": "operator",
"options": [
{
"label": "Equals",
"value": "BooleanEquals"
}
],
"required": true,
"type": "select"
},
{
"description": "Enter the JSONPath to a value from the input to compare to Variable A.",
"helpText": "",
"label": "Variable B",
"name": "variableB.$",
"required": false,
"type": "text"
},
{
"description": "Enter True or False.",
"helpText": "",
"label": "Variable B",
"name": "variableB",
"required": false,
"type": "text"
}
]