Hi, Folks,
We were trying to get the Sequence Flow name inside condition expression in sequence flow.
The expression is calling a bean and execution is passed to the bean.
execution.getCurrentFlowElement();
Would return the Gateway connected to the Flow. We want to be able to implement some conditional logic based on metadata attached to the sequence flow.
We understand that the execution is moved only after the condition expression is evaluated, but it would be nice if for this case we are able to determine the sequence flow, that is being evaluated, from within the expression logic.
At the moment this information is only used for exception messages, but not available in the execution.
Does enhancing the Execution with this information seem reasonable ? Probably additional properties ?
Best Regards, Chavdar