DriveWorks Pro 15: Delay Macro Timeout [send feedback...]

Delay Macro Timeout

The Delay Macro Timeout task will delay the period before the timeout prompt is displayed on any other, potentially long running, tasks.


Property NameDescription
Delay TimeThe amount of time, in seconds, to delay the prompt for macro abortion (relative to the time that this task is ran).
TitleChanges the Title (not the name) of the task.


Looping or nested Macros in DriveWorks have an inbuilt timer that will ask the user whether to continue or stop the execution of the looping macro after 20 seconds.

This is to ensure that DriveWorks returns control to the user IF the macro is caught in an infinite loop (Hangs) or a looping macro in DriveWorks is looping indefinitely (i.e. if the loop maximum value is never reached).

In some cases it may be expected that looping macros take longer that this default time (20 seconds) to run, in which case, the timeout period can be temporarily changed using this task.

This task will allow a delay period to be defined when running other tasks that have the potential to trigger the default timeout period in DriveWorks.

Triggering the delay

The macro timeout will be triggered when DriveWorks enters a macro. Therefore the Delay Macro Timeout task should be the first task that appears in the list of tasks within a macro.

To increase the timeout on a Specification Flow Event, Transition or Operation a Run Macro task should be added to the Event, Operation or Transition. This Run Macro task then runs a Specification Macro that contains the Delay Macro Timeout task.

Table of Contents