Executing activities - bptlab/chimera GitHub Wiki
Order of insertion:
Executing activities
Here be picture of a lifecycle.
check this url
Updating an activity works by sending a post request to
api/interface/v2/scenario/{scenarioId}/instance/{instanceId}/activity/{activityId}/begin
Executing control nodes with data dependencies
When executing a control node which relies on data from the case, The user can choose between different data objects, which he wants to use for this. Here be a picture of a control node with input
Start an activity
In order to start the control node, the selected data object ids have to be send to the execution platform. This happens with the format presented below. Note that there can be only one data object for each data class referenced.
{
"dataobjects": [
1,
3,
...
]
}
Terminating an activity
In order to terminate an activity, a post request has to be send to
api/interface/v2/scenario/{scenarioId}/instance/{instanceId}/activity/{activityId}/terminate
In case of multiple possible output sets, the user needs to specify the respective state in which the data objects should be written. Which specific data objects should be written is specified by the data objects from the begin request.
{
"{DataObjectName}": "{state}",
...
}