Files
api-specs/nerm/schemas/POST/WorkflowActions/StatusChangeAction.yaml
2023-08-23 15:05:25 -04:00

25 lines
701 B
YAML

type: object
properties:
workflow_id:
type: string
format: uuid
required: true
description: The workflow the workflow action belongs to.
example: 33f072dd-13b4-41e1-8ea0-16f2a59b57c8
description:
type: string
required: true
description: The description of the workflow action.
example: Changes the status of a non-employee.
new_status:
type: string
format: text
required: false
enum: [Active, Inactive, On Leave, Terminated]
description: The new status for the Status Change workflow action.
example: Active
archived:
type: boolean
default: false
description: If the workflow action is archived or not.
example: false