[
http://jira.jboss.com/jira/browse/JBPM-1175?page=comments#action_12412887 ]
Martin Loiacono commented on JBPM-1175:
---------------------------------------
Same issue on jBPM jPDL 3.2.2:
In a Task-Node, only the transition that is first declared into flow´s source code is
taken.
--------------------------------------------------------------------------------------------------------------------------
EXAMPLE 1:
Flow Source:
-----------------
<task-node name="Evaluar">
<task name="Evaluar"></task>
<transition to="Cargar" name="aC">
<condition expression="#{Check=='C'}"></condition>
</transition>
<transition to="Ver" name="aV">
<condition expression="#{Check=='V'}"></condition>
</transition>
</task-node>
Form Source:
------------------
<jbpm:datacell>
<f:facet name="header">
<h:outputText value="Actions"/>
</f:facet>
<!-- TASKFORM BUTTONS -->
<tf:saveButton value="Guardar"/>
<tf:transitionButton value="Cargar" to="aC"/>
<tf:transitionButton value="Ver" to="aV"/>
</jbpm:datacell>
EXAMPLE Result: Transition "Cargar" is always taken.
--------------------------------------------------------------------------------------------------------------------------
EXAMPLE 2:
Flow Source:
-----------------
<task-node name="Evaluar">
<task name="Evaluar"></task>
<transition to="Ver" name="aV">
<condition expression="#{Check=='V'}"></condition>
</transition>
<transition to="Cargar" name="aC">
<condition expression="#{Check=='C'}"></condition>
</transition>
</task-node>
Form Source:
------------------
<jbpm:datacell>
<f:facet name="header">
<h:outputText value="Actions"/>
</f:facet>
<!-- TASKFORM BUTTONS -->
<tf:saveButton value="Guardar"/>
<tf:transitionButton value="Cargar" to="aC"/>
<tf:transitionButton value="Ver" to="aV"/>
</jbpm:datacell>
EXAMPLE Result: Transition "Ver" is always taken.
--------------------------------------------------------------------------------------------------------------------------
Regards.
CLONE -Wrong transition taken after ending a task with the taskform
button
--------------------------------------------------------------------------
Key: JBPM-1175
URL:
http://jira.jboss.com/jira/browse/JBPM-1175
Project: JBoss jBPM
Issue Type: Bug
Components: Web Interface
Affects Versions: jBPM jPDL 3.2.1
Reporter: Martin Loiacono
Assigned To: Tom Baeyens
Priority: Critical
Fix For: jBPM jPDL 3.2.2
This behavior can be reproduced with the default suite by following these steps on the
deployed "websale" demo process:
1. Login: admin/admin
2. Click 'Processes' (upper navigation)
3. Process ID 1, websale, click: Examine
4. Left navigation, click: Start a new instance
5. Task 'Create new web sale order' is displayed, click 'Examine'
6. Form for web sale order vars displayed, fill out, click 'Evaluate'
7. Click: Tasks (upper navigation)
8. Task 'Evaluate web order', click Actions: 'Examine'
9. Form for web sale order with filled vars is displayed, click 'More Info
Needed'
10. Inspect the process instance via the Instance Link/Process Image
--> the token has incorrectly moved down the 'ok' transition
--
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