Skip to content

Initiate Workflow Through Automation

Parameter Configuration

ParameterDescription
Workflow ModuleThe workflow module to which the created workflow instance belongs
Input Workflow IDWhen enabled, expressions can be used to dynamically calculate and specify the Workflow ID
Workflow IDThe workflow ID used to initiate the process. Can use expressions to dynamically calculate and specify
WorkflowWhen Input Workflow ID is not enabled, initiate the process by selecting a workflow from the workflow modules within the application
InitiatorSet the initiator of the process
Form Data TableThe data table where form data is stored when initiating the workflow
Form Data TypeThe type of workflow form when initiating the workflow. Create New Record or Use Existing Record
Associated Record IDInitiate the process based on an existing data table record. Can use expressions to dynamically calculate and specify
Set Field ValuesSet the form field values to initiate the process. Form field values can be dynamically calculated and specified using expressions
Workflow VariablesSet process variables for the workflow instance when initiating the process. Variable values can be dynamically calculated and specified using expressions

Return Values

ParameterDescription
Workflow InstanceCreated workflow instance data

Notes

  • When Form Data Type is Use Existing Record, the process can be initiated based on an existing data table record. The process instance will automatically establish an association with the specified Associated Record ID
  • When Form Data Type is Create New Record, the initiated process will use the settings of Form Data Type as the process form data. After the process is initiated, a new record will be created in the Form Data Table and associated with the process

Usage Scenarios

  • Scheduled tasks, form listeners, button controls, etc., initiate the application's workflow through automation
  • Workflow steps initiate the application's workflow in Service Node Calls Automation or Call Automation After Task Completion
  • In cross-application scenarios, when an application publishes an application event and other applications listen to the published event, they initiate their own application's workflow
  • Application API interfaces, after being called by third parties, initiate the application's workflow