Automated commit by github action: 5578924213

This commit is contained in:
GitHub Action Bot
2023-07-17 17:51:50 +00:00
parent a6c25874cb
commit fdc02ae56b
2 changed files with 10 additions and 8 deletions

View File

@@ -1,10 +1,11 @@
type: object type: object
description: The trigger that starts the workflow description: The trigger that starts the workflow
required: required:
- type - type
- attributes - attributes
properties: properties:
type: type:
type: string
enum: enum:
- EVENT - EVENT
- EXTERNAL - EXTERNAL
@@ -12,8 +13,9 @@ properties:
example: EVENT example: EVENT
description: The trigger type description: The trigger type
attributes: attributes:
type: object
description: Workflow Trigger Attributes. description: Workflow Trigger Attributes.
oneOf: anyOf:
- $ref: './workflows/trigger-attributes/EventAttributes.yaml' - $ref: "./workflows/trigger-attributes/EventAttributes.yaml"
# - $ref: './workflows/trigger-attributes/ExternalAttributes.yaml' - $ref: "./workflows/trigger-attributes/ExternalAttributes.yaml"
- $ref: './workflows/trigger-attributes/ScheduledAttributes.yaml' - $ref: "./workflows/trigger-attributes/ScheduledAttributes.yaml"

View File

@@ -7,7 +7,7 @@ properties:
type: string type: string
description: The unique ID of the trigger description: The unique ID of the trigger
example: "idn:identity-attributes-changed" example: "idn:identity-attributes-changed"
filter: filter.$:
type: string type: string
description: JSON path expression that will limit which events the trigger will fire on description: JSON path expression that will limit which events the trigger will fire on
example: "$.changes[?(@.attribute == 'manager')]" example: "$.changes[?(@.attribute == 'manager')]"