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
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.