Start a Process - Start a Process - This operation builds a start-process command payload. Use it to start another process asynchronously from the script. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/adx5382254544071 - Current - Current

Hyland Automate Modeler

Platform
Content Innovation Cloud
Product
Hyland Automate Modeler
Release
Current
License
ft:lastPublication
2026-11-02T23:02:36.222215
ft:locale
en-US

This operation builds a start-process command payload. Use it to start another process asynchronously from the script.

The base command is:

processPayloadBuilder.start()

You can use the following options:

Option Description
withProcessDefinitionId(processDefinitionId: string) Specifies the ID of the process definition to start.
withProcessDefinitionKey(processDefinitionKey: string) Specifies the process definition key of the process to start.
withBusinessKey(businessKey: string) Assigns a business key to the new process instance.
withName(name: string) Sets a name for the process instance.
withVariable(name: string, value: any) Adds a process variable and value to the process instance.

The following is the command example:

processPayloadBuilder
    .start()
    .withProcessDefinitionKey(variables.processKey)
    .build();

The processPayloadBuilder.start() creates a start-process payload builder, in which withProcessDefinitionKey(variables.processKey) specifies the process definition to start using the value stored in the processKey process variable. build() creates the final command payload.