Orchestrate User Task
These actions provide ability to include human actions and time delays in API calls.
Orchestrate User Task Actions
StartTask
Field
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"description": "Name of the state manager to store process data in",
"example": "workflow"
},
"inputElement": {
"type": "string",
"description": "Json path for storing data to return on proceeding process",
"example": "process.data"
}
}
}
}
}Parameter
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"parameters": {
"type": "object",
"properties": {
"inputPattern": {
"type": "string",
"description": "JMESPath pattern to apply on data input",
"example": "{data: process.data}"
},
"taskIdPath": {
"type": "string",
"description": "Json path which defines id for storing the process",
"default": "taskId",
"example": "process.id"
},
"taskName": {
"type": "string",
"description": "Descriptive name for the task",
"example": "Job Post Approval"
},
"taskSpec": {
"type": "string",
"description": "Task specification (i.e. reference name for the process flow)",
"example": "job_post_approval"
},
"taskAction": {
"type": "string",
"description": "Referential name of the action",
"example": "Approve"
},
"taskRoles": {
"type": "string",
"description": "Comma separated list of user roles allowed to process task",
"example": "admin,manager"
},
"taskUser": {
"type": "string",
"description": "ID of user allowed to process task",
"example": "user123"
},
"timeout": {
"type": "integer",
"description": "Milliseconds to timeout started process after",
"example": 60000
},
"timeoutOn": {
"type": "integer",
"description": "Epoch time in ms to timeout started process on",
"example": 1666765654
}
}
}
}
}
}
}ProceedTask
Field
Definition
Example
Default
Parameter
Definition
Example
Default
TimeoutTask
Field
Definition
Example
Default
Parameter
Definition
Example
Default
TimeoutBetween
Field
Definition
Example
Default
Parameter
Definition
Example
Default
Last updated

