HTTP Example:POST /API/runtimeAPI/instantiateProcessWithVariables/{uuid}
options=…&variables=…
| API Example: AbstractRemoteRuntimeAPI.instantiateProcess({'uuid': , 'options': , 'variables': }); |
Creates an instance of the specified process with the added variable map
and start the execution.
returned instance has STARTED state.
If the first activity has StartMode=manual then a task has been created.
If the first activity has StartMode=automatic then the automatic behavior
of the activity has been started. - Output:
- org.ow2.bonita.facade.uuid.ProcessInstanceUUID - the UUID of the created instance.
- Form parameters:
- options - the options map (domain, queyList, user)
- variables - variables added to the variables already set within the process definition
the variable object can be: a plain {@link String}, a {@link Boolean}, a {@link Date}, a
{@link Long} or a {@link Double}.
- Produces:
- text/*
- application/xml
- Consumes:
- application/x-www-form-urlencoded
- application/xml
|