Process Engine 10.7 | Process Engine Services | Summary of Elements in the WmPRT\pub Folder | pub.prt.timer.process:createWithBusinessCalendar
 
pub.prt.timer.process:createWithBusinessCalendar
WmPRT. This service creates a process timer for the specified process instance and the specified business calendar.
Input Parameters
The following table lists the input parameters.
ProcessInstanceID
String Process instance ID of the process for which you are creating the timer.
BaseDate
String The timer start date, defined by entering one of the following string values:
*InstanceStart — Sets the timer relative to the start time of the process instance.
*CurrentTime — Sets the timer relative to the current time.
*ExistingTimeout — Sets the timer relative to the expiration time of the current timer that exists for the Process Instance. If ExistingTimer is specified and there is no existing timer for the process, the current time will be used as the basis for the timer (same behavior as specifying CurrentTime).
In all cases, the actual timer expiration is created based on the specified business calendar.
BusinessCalendar
String The alias name of the business calendar in My webMethods Server that you want to reference.
Days
String The number of days to be applied to the timer expressed as a whole number. If you do not specify days, or if you specify an invalid value, the value is assumed to be 0 (zero).
Hours
String The number of hours to be applied to the timer expressed as a whole number. If you do not specify hours, or if you specify an invalid value, the value is assumed to be 0 (zero).
Minutes
String The number of minutes to be applied to the timer expressed as a whole number. If you do not specify minutes, or if you specify an invalid value, the value is assumed to be 0 (zero).
Output Parameters
None.
Usage Notes
The timer is expressed in terms of days, hours, minutes, seconds, and milliseconds. A blank value is assumed to be 0 (zero). If a BaseDate of ExistingTimer is specified and there is no existing timer for the process, the current time will be used as the basis for the timer (same as BaseDate of CurrentTime).