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:  A flow  Workflow Design with an activity "Deadline Triggered" that will start when a deadline is trigger.be invoked when the Deadline is triggered


Figure 2:  Edit  Setting up the Deadline parameter

Edit the first activity, "Do not complete to trigger deadline" to add a deadline Deadline as shown in the screenshotfigure above. Set the "Duration unit" to "Date (dd/MM/yyyy)" and "Deadline limit" to a the name of workflow variableWorkflow Variable. In this sampleexample, the workflow variable will be Workflow Variable is named as "workflowVariable". 

Figure 3:  Edit the transition to set "Type" to "Exception" and "Expression" to the name of exception name set in the deadline 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.

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

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

...

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

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

Sample App:

APP_deadline_sample-1-20130619113323.zip