Versions Compared

Key

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

This article shows on how one can set up a Deadline that will be triggered on a specific date value set in a Form.


Figure 1:  Workflow Design with an activity "Deadline Triggered" that will be invoked when the Deadline is triggered


Image Modified
Figure 2:  Setting up the Deadline parameter

...

Info

Please note that when using non workflow variable value in "Deadline limit" for date type format of "Duration unit", you will be required to quote the value.

Eg.

  • "12/12/2017"
  • "#form.test.deadline#"

 


Figure 3:  Setting up the Transition as Exception

...

On the transition leading out of the first activity, edit it's properties by matching the Exception name of the Deadline set earlier with the "Expression" field.

Image Modified

Figure 4:  Create a Workflow Variable in the process's properties


Image Modified

Figure 5:  Create a Form with a Date Picker element to set a date value to workflow variable.


Image Modified

Figure 6: Edit the date picker's properties and set "Data Format" to "dd/MM/yyyy"


Image Modified

Figure 7:  Map the Date Picker's value to the Workflow Variable

...

  1. The value of "workflowVariable" can be changed/manipulated as many times as needed to reflect the use case of your process design so long that the deadline has NOT been executed before.

...


Sample App:

APP_deadline_on_trigger_date.jwa

...