Red Hat Bugzilla – Bug 972126
jBPM Web Designer does not display any errors when validating a process with a timer that has values for both Time Cycle and Time Duration
Last modified: 2014-08-06 16:12:30 EDT
Description of problem:
BPMN 2.0 specification defines that 'timeCycle' and 'timeDuration' are mutually exclusive so one of them will be ignored if you specify both. So we should not use 'timeCycle' and 'timeDuration' for the same element.
The Web Designer does't display any errors when validating a process which has a timer that has both delay and cycle, unless it is discovered while execution of a process instance the timer doesn't get executed properly.
Hence, the validation mechanism in the jBPM Web Designer should at least check this and show some messages to the users.
Version-Release number of selected component (if applicable):
- Please follow the below steps
Steps to Reproduce:
1. Just create a simple BPMN2 process which has a Timer Intermediate Event
2. Specify some values to both "Time Cycle" and "Time Duration" properties of the Timer
3. Now try to validate the process and it won't complain and neither would tell you about both the properties being mutually exclusive
- Validation done with success
- Validation should complain/tell you about both the properties being mutually exclusive
Fixed in Designer master.
Verified for BPMS ER2.