Create a Process Workflow Automation
Create a Process Workflow Automation
Path Parameters
- tenant_id
clientId of the tenant
Request Body
application/json
- name
Represents the name of the created process workflow.
- createdDate
Create date of the process workflow
- createdBy
Creator of the process workflow
- updatedDate
Last update on
- updatedBy
last updated by
- description
Details of the purpose ofthe workflow
- enabled
This indicates if the process is enabled for execution or not.
- variables
Associated variable details.
- startEvents
This list contains process start events. The process can be started by a platform event (SIGNAL) or a timer. Valid values for eventOperation is CREATED, UPDATED
- activities
This list contains activities to perform when the process is started. The supported tasks are SERVICE_TASK and SEND_MESSAGE_TASK. For the service task, the server input and output are defined by the service. The "input map" of Service Task is about how to map process variables to the service input and "output map" is about how to map the service output to process variables.
- endEvents
Ending events process details.
- gateways
This list has decision flows termed as gateways. There are two types of gateway - Exclusive gateway and Parallel gateway. Exclusive gateway is the decision point in the flow and parallel gateway creates parallel flows. Exclustive gateway has property "defaultSequenceFlow" to indicate the default outgoing flow.
- sequenceFlows
This list contains sequence flow. Sequence flow links all process elements. It has "source" and "target", and optional "conditionExpression" attribute. The condition expression is typically used along with exclusive gateway(Decision flows) to direct the outgoing flow.
Responses
- uniqueId