You can set the timeout.date variable of a User interaction element to a relative time and date by binding it to a Date object. You define the object in a scripted function.

If you create a relative Date object in a scripted function, you can bind the timeout.date variable of a user interaction to this Date object. For example, if you bind the timeout.date variable to a Date object that adds 24 hours to the current time, the user interaction times out after waiting for 24 hours.

Prerequisites

Procedure

  1. Log in to the Automation Orchestrator Client.
  2. Navigate to Library > Workflows, and select your workflow.
  3. Select the Schema tab.
  4. Select your User interaction element.
  5. Under Options, configure timeout.date to use the timerDate variable.
  6. To finish editing your workflow, click Save.

Results

You set the timeout.date variable to a relative date and time that a scripted function calculates.