Field | Type | Description |
---|---|---|
id | String | Linear taskflow ID. |
orgId | String | Organization ID. |
name | String | Linear taskflow name. |
description | String | Description. |
createTime | Date/time | Time the linear taskflow was created. |
updateTime | Date/time | Last time the linear taskflow was updated. |
createdBy | String | User who created the linear taskflow. |
updatedBy | String | User who last updated the linear taskflow. |
errorTaskEmail | Object that includes the taskEmail object for error notifications. | |
id | String | Included in taskEmail object for errorTaskEmail. ID. |
emails | String | Included in taskEmail object for errorTaskEmail. Email address that receives email notification when a task fails to complete. |
successTaskEmail | Object that includes the taskEmail object for success notifications. | |
id | String | Included in taskEmail object for successTaskEmail. ID. |
emails | String | Included in taskEmail object for successTaskEmail. Email address that receives email notification when a task completes successfully. |
warningTaskEmail | Object that includes the taskEmail object for warning notifications. | |
id | String | Included in taskEmail object for warningTaskEmail. ID. |
emails | String | Included in taskEmail object for warningTaskEmail. Email address that receives email notification when a task completes with errors. |
agentId | String | Agent that runs the task. |
runtimeEnvironmentId | String | Runtime environment used for the task. |
scheduleId | String | Schedule associated with the linear taskflow, if any. |
preProcessingCmd | String | Command to run before the task. |
postProcessingCmd | String | Command to run after the task completes. |
tasks | Defines each task associated with the linear taskflow. Includes a workflowTask object for each task. | |
taskId | String | Included in the workflowTask object. Task ID. |
type | String | Included in the workflowTask object. Workflow task type. Returns one of the following codes:
|
name | String | Included in the workflowTask object. Task name. |
stopOnError | Boolean | Included in the workflowTask object. Stops the linear taskflow if a task fails to complete. |
stopOnWarning | Boolean | Included in the workflowTask object. Stops the linear taskflow if a task completes with warnings. |
Field | Type | Required | Description |
---|---|---|---|
name | String | Yes | Name of the linear taskflow. |
description | String | Description of the linear taskflow. | |
containerId | String | ID of the project or folder to contain the linear taskflow. If not included in the request, the linear taskflow is created in the Default folder. | |
errorTaskEmail | Object that includes the taskEmail object for error notifications. | ||
id | String | Include in taskEmail object for errorTaskEmail. ID. | |
emails | String | Include in taskEmail object for errorTaskEmail. Email address that receives email notification when a task fails to complete. | |
successTaskEmail | Object that includes the taskEmail object for success notifications. | ||
id | String | Include in taskEmail object for successTaskEmail. ID. | |
emails | String | Include in taskEmail object for successTaskEmail. Email address that receives email notification when a task completes successfully. | |
warningTaskEmail | Object that includes the taskEmail object for warning notifications. | ||
id | String | Include in taskEmail object for warningTaskEmail. ID. | |
emails | String | Include in taskEmail object for warningTaskEmail. Email address that receives email notification when a task completes with errors. | |
tasks | Use a workflowTask object to define the following attributes for each task you want to include in the linear taskflow. | ||
taskId | String | Yes | Include in the workflowTask object. Task ID. |
Yes | Include in the workflowTask object. Workflow task type. Use one of the following codes:
| ||
name | String | Yes | Include in the workflowTask object. Name of the task. |
stopOnError | Boolean | Include in the workflowTask object. Stops the linear taskflow if the task fails to complete. Use one of the following options:
| |
stopOnWarning | Boolean | Include in the workflowTask object. Stops the linear taskflow if a task completes with warnings. Use one of the following options:
| |
scheduleId | String | Schedule for the linear taskflow. |