Solved my problem and understood what was by this thread :)
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=129225
So i used a script to leave a node not a state.
This is the part of my process, i'll need to send a mail instead to use the node specified. I will start now to see how mail nodes work :).
| <state name="stateA">
| <timer duedate="5 seconds" name="MailSender" transition="to testMail">
| </timer>
| <transition to="questionnaire_decision" name="to_questionnaire_decision"></transition>
| <transition to="testMail" name="to testMail"></transition>
| </state>
|
| <node name="testMail">
| <script>
| executionContext.setVariable("pippo","pippo");
| executionContext.leaveNode();
| </script>
| <transition to="stateA" name="backtoStateA"> </transition>
| </node>
|
In the node i set a variable in the JBPM context, and from JBPM console i remove the variable and it is back after the 5 sec timer.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218899#4218899
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218899
Hi, all
In general, the sunnday scenario is work.
However, if we encourter the exception or action execution failed.
We want go to the fallout or rollback process?
So, Could you share the experience about how to achieve it?
If jBPM execute the action handler of processA failed or any exception occurs,i can invoke the fallout process dynamic to handler it using jBPM API?
PS: the fallout process is not define in the processA, it is defined in another processdefinition.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218843#4218843
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218843