Consider this simple process:
With the following call activity definition:
Call Activity
<callActivity calledElement="sub_process_with_java_delegate">
<extensionElements>
<flowable:out source="clientName" target="clientName"></flowable:out>
</extensionElements>
</callActivity>
Java Delegate in called process
public class DoBadThings implements JavaDelegate {
@Override
public void execute(DelegateExecution execution) {
execution.setVariable("clientName", "Jane Doe");
throw new BPMNError("BAD");
}
}
Should clientName
be available for the user task?
If not:
- is there documentation explaining this
- is there a way to persist across the error boundary event?
If so, we have a project in which the mapping doesn’t seem to be taking place in this scenario and I would be happy to provide further details if needed.