How to set timer duration from process variable in a business process?

Solution Verified - Updated -

Environment

  • Red Hat JBoss BPM Suite (BPMS) 6.x
  • Red Hat Process Automation Manager (RHPAM) 7.x

Issue

  • How to set timer duration from process variable in a BPM Suite 6.x / Red Hat Process Automation Manager 7.x business process?

Resolution

It is possible by setting a variable (e.g. #{variable_name}) in Time value. For instance, you can define a String process variable such as timerValue and then set it in Time Duration as #{timerValue}.

In timervalue_sample.zip attached, there is a sample process definition (*.bpmn2 file) which you can import to business-central in order to view how to set it.

Attachments

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.