Administrator
- Administrator
- All Products
/api/v2/workflow/<id>
If you use the linear taskflow name in the URI and the linear taskflow name includes a space, replace the space with/api/v2/workflow/name/<name>
/api/v2/workflow/name/my%20linear%20taskflow
/api/v2/workflow
/api/v2/workflow/?simpleMode=true
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.
|
/api/v2/workflow
https://na1.dm-us.informaticacloud.com/diUI/products/integrationDesign/main/Explore/dH2DuGJYda7ijgW4Sm32sR
/api/v2/workflow/<id>
Update-Mode=PARTIAL
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.
|
/api/v2/workflow/<id>
POST <serverUrl>/api/v2/workflow/0000342J0000K Content-Type: application/json Accept: application/json icSessionId: <icSessionId> { "@type": "workflow", "name": "linear taskflow", "tasks":[{ "@type":"workflowTask", "taskId":"0000100I00000000001G", "type":"DSS", "name":"DSS_DQ5", "stopOnError":"false" },{ "@type":"workflowTask", "taskId":"0000100Z0000000000B8", "type":"MTT", "name":"CIT_SimpleTemplate2", "stopOnError":"false" },{ "@type":"workflowTask", "taskId":"0000100G000000000002", "type":"DRS", "name":"SF2File", "stopOnError":"false" }] }