Description
The SignalProcessInstanceInWaitStateAndSetProcessVariable timer searches for all running instances of a process definition (= first parameter) and in these all active activities that correspond to an identifier (= second parameter). The start date of each activity is compared to a date or a period (= third parameter). In this case, the date or duration in a variable can be set for each instance.
The timer forwards the affected activity if:
The start date plus the specified duration in the parameter lies in the past.
The start date is later than the date in the parameter.
Additionally, a variable (= fourth parameter) with a content (= fifth parameter) is set in this instance. If the activity is exited manually by finishing the last task, no variable is set.
Webservice Name
ProcessInstanceManager
Webservice Method
signalProcessInstanceInWaitStateAndSetProcessVariable
Parameter
Parameter | Description | Valid examples |
---|---|---|
Processdefinition | Name of the process definition that is signaled. |
|
Identifier | Name of activity, is automatically extended with a wildcard. Thus, all activities which start with the identifier are signaled. |
|
DateOrDuration | Date or Duration, it can be supplied via process variable. |
|
VariableName | The name of the variable that will be set. |
|
Value | The value that the variable should assume. |
|
Limit | A Number of activities that will be processed during one iteration. |
|