========signalProcessInstanceInWaitStateAndSetProcessVariable========= ==== Description ==== This [[software:tim:timer|timer]] searches for all running instances a process definition (= first parameter) and in these all active activities that correspond to a 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. ------ ==== Timer Name ==== any name \\ ==== Webservice Name ==== ProcessInstanceManager ==== Webservice Methode ==== signalProcessInstanceInWaitStateAndSetProcessVariable ==== Parameter ==== == Processdefinition == Processdefinition (Name of the prozessdefinition that is signaled) (see [[#Example]]) \\ == Identifier == Identifier (Name of activity) (see [[#Example]]) \\ == DateOderDuration == DateOderDuration (Date, Duration or from Prozessvariable) (see [[#Example]]). Possible options are: *1y,1m,1d,1h *dd.mm.yyyy *${variableName} \\ == VariableName == VariableName (The name to be saved of the variable to set) (see [[#Example]]) \\ == Value == Value (The value should get of the variable to be set.) (see [[#Example]]) \\ == Limit == Limit (Number of activities to be processed at a timer run) (see [[#Example]]) ---- ==== Example ==== {{ :software:tim:timer:timerWaitstate_en.png }} ----