This command starts the process in the specified activity(ies). Connectors on process start will be executed.
It can be executed using the CommandAPI.execute(String, java.util.Map).
Example: commandAPI.execute("multipleStartPointsProcessCommand", parameters)
Parameters:
- started_by: the user id (long) is used as the process starter. It's a mandatory parameter.
- process_definition_id: the process definition id (long) identifies the process to start. It's a mandatory parameter.
- activity_names: list of activity names (ArrayList) defining where the process will start the execution. It's a mandatory parameter.
- operations: the operations (ArrayList) are executed when the process starts (set variables and documents). It's an optional parameter.
- context: the context (HashMap) is used during operations execution. It's an optional parameter.
Limitations: It is not possible to start the execution of a process from a gateway, a boundary event or an event sub-process
Use this command carefully: note that no validation will be done concerning the start points coherence.