Skip to main content

setAgentTime

A Workflow Engine function that sets the agent_time of the event to current time if the field does not exist in the event, or is more than the offset seconds in the past/future.

This function is available as a feature of the Workflow Engine v1.2 download and later.

This function is available for event workflows only.

Back to Workflow Engine Functions Reference.

Arguments

Workflow Engine function setAgentTime takes the following arguments:

Name

Required

Type

Description

offset

Yes

Number

The maximum number of seconds in the past or future to allow for the agent time. Set to 0 for current time.