SignalProcessInstanceInWaitStateAndSetProcessVariable

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

Parameter

Description

Valid examples

Processdefinition

Name of the process definition that is signaled.

  • 8D Problem Solving

  • MyProcessDefinition

Identifier

Name of activity, is automatically extended with a wildcard. Thus, all activities which start with the identifier are signaled.

  • Identify Problem (becomes “Identify Problem%”)

  • MyActivityName (becomes “MyActivityName%”)

DateOrDuration

Date or Duration, it can be supplied via process variable.

VariableName

The name of the variable that will be set.

  • ${variableName}

Value

The value that the variable should assume.

  • true

  • false

Limit

A Number of activities that will be processed during one iteration.

  • 5

 

Example: