[jboss-jira] [JBoss JIRA] Closed: (JBPM-621) Decision 'otherwise' choice does not appear to work.

Tom Baeyens (JIRA) jira-events at lists.jboss.org
Wed Mar 28 03:50:02 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBPM-621?page=all ]

Tom Baeyens closed JBPM-621.
----------------------------


i think this could be a duplicate of JBPM-853

Check that issue and see in the fisheye tab for more info.   Basically there was a test that was fixed.  And also the docs were updated.  It could be that previously I was confused about the actual behaviour because of the bogus test.

> Decision 'otherwise' choice does not appear to work.
> ----------------------------------------------------
>
>                 Key: JBPM-621
>                 URL: http://jira.jboss.com/jira/browse/JBPM-621
>             Project: JBoss jBPM
>          Issue Type: Bug
>          Components: Core Engine
>    Affects Versions: jBPM 3.1
>            Reporter: Michael Youngstrom
>         Assigned To: Tom Baeyens
>             Fix For: jBPM jPDL 3.2
>
>
> The following decision appears to always result in the "to_print" transition choosen.  The decision node doesn't appear to ever check transisions who don't have conditions.  So it assumes there is only one transition so it chooses the 'default' or first transition.
>   <decision name="data_needed">
>       <transition name="to_print" to="print_application">
>       	<condition expression="#{true == false}"/>
>       </transition>
>       <transition name="to_get_approval" to="get_approval"/>
>    </decision>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list