How to - Time management

The Schedule trigger plugin allows to set timers on controlled actions.

To set a timer, send a notification on timeout and exit with error, follow this model:

exitOnTimerSimple.jpg

Above, the timer is set on the transcoding plus the file operation actions.

 

To set a timer on a specific action, send a notification on timeout and exit with error, follow this model:

exitOnTimer.jpg

Above, the timer is set on the transcoding action only.

Upon timeout, it goes into the Failed state after the email notification is sent.

Upon transcoding completion before the timeout, it executes the file operation.

The timeout is set on the transcoding operation only, independently of the file operation duration.

 

Alternatively, this can be done with the Set Timeout option on the action step itself (right click on the step). Set the timeout value in seconds in “Timeout override value” and click on “Make timeout absolute”.

exitOnTimerAbsolute.JPG

To set a timer on a given action, send a notification on timeout and wait for the action to be completed to proceed with the next action, follow this model:

noExitOnTimer.jpg

The dummy step is required to link the OR with the next implicit AND. A dummy step can be implemented with an empty merge point or custom ruby.

 

Attachments

2 Comments

  • Avatar
    Christophe Thiebot

    I added the new option with set absolute timeout .

  • Avatar
    Christophe Thiebot

    A few precisions on how to set a timer on a specific action.

Please sign in to leave a comment.
Powered by Zendesk