Path: / API / runtimeAPI / instantiateProcessWithVariables / {uuid}

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.

Path parameters:
uuid - the process UUID.

Method Summary
ResourceDescription
POST /API/runtimeAPI/instantiateProcessWithVariables/{uuid}Creates an instance of the specified process with the added variable map and start the execution.

Method Detail
HTTP Example:
POST /API/runtimeAPI/instantiateProcessWithVariables/{uuid}

options=&variables=
API Example:

AbstractRemoteRuntimeAPI.instantiateProcess({'uuid': /* processUUID the process UUID. */,
  'options': /* options the options map (domain, queyList, user) */,
  'variables': /* variables variables added to the variables already set within the process definition the variable object can be: a plain String, a Boolean, a Date, a Long or a Double. */});

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