Path: / API / repairAPI / instantiateProcess / {processDefinitionUUID}

Starts a new process instance, positioned at a specific activity, with a map of instance’s variable values. The activities located before the start activities are not executed.

Path parameters:
processDefinitionUUID - the process definition UUID

Method Summary
ResourceDescription
POST /API/repairAPI/instantiateProcess/{processDefinitionUUID}Starts a new process instance, positioned at a specific activity, with a map of instance’s variable values.

Method Detail
HTTP Example:
POST /API/repairAPI/instantiateProcess/{processDefinitionUUID}

startActivitiesNames=&attachments=&processVariables=&options=
API Example:

RESTRemoteRepairAPI.instantiateProcess({'processDefinitionUUID': /* processDefinitionUUID the process definition UUID */,
  'startActivitiesNames': /* startActivitiesNames the list of activities on which to start an execution */,
  'attachments': /* attachments the attachments in this Collection override the current attachments values */,
  'processVariables': /* processVariables the process variables in this Map will override the current process variable values */,
  'options': /* options the options map (domain, queyList, user) */});

Starts a new process instance, positioned at a specific activity, with a map of instance’s variable values. The activities located before the start activities are not executed.

Output:
org.ow2.bonita.facade.uuid.ProcessInstanceUUID - the {@link ProcessInstanceUUID} of the started instance
Form parameters:
startActivitiesNames - the list of activities on which to start an execution
attachments - the attachments in this Collection override the current attachments values
processVariables - the process variables in this Map will override the current process variable values
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
text/*
application/xml