This content has been marked as final.
Show 3 replies
-
1. Re: JbpmNode Node type with action expression does not continue
kukeltje.ronald.jbpm.org Sep 7, 2008 2:36 AM (in response to c0upal)please show your processdefinition
-
2. Re: JbpmNode Node type with action expression does not continue
kukeltje.ronald.jbpm.org Sep 7, 2008 2:38 AM (in response to c0upal)most likely reason is that when there is no action, the default behaviour of a node is to take the default transition. If you specify an action as the node behaviour (so not on an event) you are the one to make sure a transition is taken
-
3. Re: JbpmNode Node type with action expression does not continue
c0upal Sep 7, 2008 4:02 AM (in response to c0upal)I tried specifying a transition but still doesn't work: Here are my snippets.
.... .... <node name="MyNode"> <action expression="#{mysessionBean.testAction}"></action> <transition to="ApproveQuote1" name="quote1"></transition> </node> <task-node name="ApproveQuote1" end-tasks="true"> <task name="ApproveQuote1" description="Approve Quote1"> <assignment actor-id="bugs"/> <controller></controller> </task> <transition to="Update StatusD" name="deny"></transition> <transition to="UpdateStatusA" name="approve"></transition> </task-node> .... ....
@Transition("quote1") public String testAction(){ log.info("Doing Something on the DB"); return "quote1"; } // Tried this also but doesnt work /* @Transition("quote1") public void testAction(){ log.info("Doing Something on the DB"); } */