EndTimer system function

Use the EndTimer system function to mark the end of a series of steps to be executed within a specified timer interval. Upon execution, EndTimer terminates the named timer if the timer has not already expired. For additional information see About setting a time limit for processing.

To specify the EndTimer system function

  1. From the TimerPalette, drag an EndTimer step onto the workflow map after the series of steps to be executed with the time limit. Note that it is not necessary that the EndTimer function be on the same workflow map as the associated BeginTimer function.
  2. Enter the name of the timer that you want to end. Enter the exact timer name in double quotes, or enter an expression that exactly matches the name (case-sensitive) in the corresponding BeginTimer system function. The EndTimer system function has no effect if you enter the name of a non-existent timer.

NOTE  When the work item terminates, all timers in effect for the work item are ended, even if there is no EndTimer system function.

While you can use the EndTimer system function to end a specific timer, you can use the EndAllTimers system function to end all timers in effect for the work item. The EndAllTimers system function has no parameters; simply place it on a workflow map at the point where you want all timers to end.