Feedback

  • Contents
 

Constants

Use the following constants when creating expressions in handlers:

$ComputerName

Returns the name of the computer where the handler is running

$CurrentStepID

Returns an integer that contains the current step ID.

$HandlerName

Returns the name of the currently running handler.

$HandlerStack

Returns a string with the following format:

 <HandlerName>:<StepID>|[<HandlerName>:<StepID>|]

This is the current step’s executing handler stack.

For example, if step 5 in handler A calls handler B and the currently executing step is step 6 in handler B, this constant would return the following string:

 B:6|A:5|

The order of the handlers listed in the string from left to right goes from the currently executing handler and works its way up the stack.

$Now

Returns the current time and date.

$PreviousStepID

Returns an integer that contains the step ID for the step that lead in to the currently active step.