One simple solution would be to define a boolean output variable in your sub-process. When you use the sub-process in a bigger process you can map the boolean output to a process variable and connect a Gateway to the sub-process that evaluates the variable.
Hello list,
I modeled (v5.3) a reusable sub-process which can either finish in a desired state (i.e. validations ok) or an undesired state (some validations failed and I need to route to a different flow). Ideally the sub-process would allow for two outgoing connections, but as far as I see that is currently not possible. Can anybody advise on how to achieve a similar functionality?
Is there a chance I could build a workitem that extends the reusable sub-process but allows for two exit connections, and if yes, how?
Can signals or fault nodes achieve a similar effect and if yes, then how?
Thanks in advance,
G.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users