Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents

...

Introduction

...

iconfalse

Deadlines act as a timer which triggers an exception transition to another activity when a specified duration has elapsed. Deadlines can be set for each activity.

We set time limits on each activity, which will trigger an exception (in this case, a specific string variable). When a matching transition that has the condition set to 'exception' matches this string value, the transition will be invoked.

...

...

titleLearning More

...

Download the tutorial app on Process Deadline from Joget Workflow Marketplace to learn more.


Types of Deadlines

  • Deadline execution can be synchronous or asynchronous.
  • For synchronous execution, the current activity will no longer be active when the deadline is triggered.  This is used in cases such as an approval escalation.
  • For asynchronous execution, the next activity will be executed while the current activity is still waiting.  This is used in cases such as sending reminders.
  • Multiple deadlines are supported for each activity.
    Image Modified


Setting Deadlines - A Step-by-Step Guideline

...

  • When a deadline is triggered, and where the exception name matches the one set for a transition, the flow will execute along that transition to the next element along the workflow.
  • Add an Exception-type transition from the activity to the next (i.e., Send Reminder).
  • Set the type of condition to 'Exception'.
  • Enter an Exception name (e.g., TIMEOUT) in the Expression text area.
  • Confirm and close the properties window for the transition.

...


Cautions And Warnings

Warning
titleDeadline Checker Interval

Remember to turn on Deadline Checker Interval in General Settings so that Deadlines will be triggered.

...

  • You can set multiple deadlines in an activity. As an example, you can include a first-level reminder (asynchronous), which is then followed by an escalation (synchronous), if the activity has not been completed within the time limit.
  • Remember to match the exception names. If they do not match, nothing will happen.

 

 

...


Download Demo App

Download the tutorial app on Process Deadline from Joget Workflow Marketplace to learn more.


Related Documentation

Office Working Hour Deadline Plugin is an optional addition to your app where SLAs and deadlines are implemented. This plugin will adjust the SLA and deadlines due date calculations based on working hours, weekends and company holidays.