]
Koen Aers resolved GPD-205.
---------------------------
Resolution: Out of Date
Designer adds script tag without expression
-------------------------------------------
Key: GPD-205
URL:
https://issues.jboss.org/browse/GPD-205
Project: jBPM GPD
Issue Type: Bug
Components: jpdl
Reporter: Rafal Zukowski
Assignee: Koen Aers
Fix For: jBPM jPDL Designer 3.x
Original Estimate: 4 minutes
Remaining Estimate: 4 minutes
When You create transition and add "Script Action" to Actions in Properties,
You can write some script which will run every time the transition will be used.
Designer puts this text into <script> element, when jbpm expects script as a text
in <expression> element, not in <script> element.
sample correct xml:
<transition to="end-state1">
<script>
<expression>
System.out.println("test");
</expression>
</script>
</transition>
what designer does:
<transition to="end-state1">
<script>
System.out.println("test");
</script>
</transition>
I've made a patch to fix this problem, I'll attach it to this issue later...