Files
developer.sailpoint.com/static/api-specs/idn/beta/schemas/WorkflowLibraryTrigger.yaml
2022-09-28 19:55:44 +00:00

68 lines
1.9 KiB
YAML

title: Workflow Trigger
type: object
properties:
id:
type: string
description: Trigger ID. This is a static namespaced ID for the trigger.
example: "idn:identity-attributes-changed"
type:
description: Trigger type
enum:
- EVENT
- SCHEDULED
- EXTERNAL
example: EVENT
name:
type: string
description: Trigger Name
example: Identity Attributes Changed
description:
type: string
description: Trigger Description
example: One or more identity attributes changed.
inputExample:
type: object
description: Example trigger payload if applicable
externalDocs:
description: List of triggers and their input schemas
url: https://developer.sailpoint.com/idn/docs/event-triggers/available
example:
{
"changes": [
{
"attribute": "department",
"newValue": "marketing",
"oldValue": "sales"
},
{
"attribute": "manager",
"newValue": {
"id": "ee769173319b41d19ccec6c235423236c",
"name": "mean.guy",
"type": "IDENTITY"
},
"oldValue": {
"id": "ee769173319b41d19ccec6c235423237b",
"name": "nice.guy",
"type": "IDENTITY"
}
},
{
"attribute": "email",
"newValue": "john.doe@gmail.com",
"oldValue": "john.doe@hotmail.com"
}
],
"identity": {
"id": "ee769173319b41d19ccec6cea52f237b",
"name": "john.doe",
"type": "IDENTITY"
}
}
formFields:
type: array
description: One or more inputs that the trigger accepts
example: []
items:
$ref: './WorkflowLibraryFormFields.yaml'