enhancement
(User-visible)
When transitioning from one task to the next, you can enter a condition and an error message that will be displayed if the condition is not met. In this case, the system cannot proceed to the next task.
Only one error message can be displayed here. If there are different reasons why the transition is not possible, the same check must be performed again in the error message to enable the display of differentiated error messages.
Improvement
- The "condition" can return a Res-Key for the error or an error message directly. In this case, a transition is not possible.
- The "condition" can return Boolean.false to display a default error text.
Data Migration
- The condition must now return the error text.
- If the "rule" attribute of an object of type "tl.bpe.bpml#SequenceFlow" contains the value <bed> and the "errorText" attribute of the same object contains the value <err>, the value for the "rule" attribute must be set to {{{
x -> if ((<bed>).apply($x), null, (<err>).apply($x)) }}} .
- The value for the "errorText" attribute is expanded.
Test
TestTaskFinishErrorMessage_24590.script.xml