looks like I didnt save the process snippet with the right escapes- sorry! Hope this does
the trick :)
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process name="GTRIHelpRequest"
xmlns="http://jbpm.org/4.0/jpdl">
|
| <on event="start">
| <event-listener class="gtri.jbpm.pilot.LogListener">
| <field name="msg"><string value="starting the process
GTRIHelpRequest"/></field>
| </event-listener>
| </on>
|
|
| <start form="gtri/jbpm/pilot/demo/request_help.ftl"
g="0,0,80,40" name="start">
| <on event="start">
| <event-listener class="gtri.jbpm.pilot.LogListener">
| <field name="msg"><string value="In the start
activity - start event - of GTRIHelpRequest process"/></field>
| </event-listener>
| </on>
| <transition to="debug_variables"/>
| </start>
|
| <script expr="Just dumping process variables" g="66,10,80,40"
name="debug_variables" var="processVarABC">
| <on event="start">
| <event-listener class="gtri.jbpm.pilot.LogListener">
| <field name="msg"><string value="In the debug
variables activity - start event - of GTRIHelpRequest process"/></field>
| </event-listener>
| </on>
| <transition to="manager_approval"/>
| </script>
|
| <task candidate-users="peter,mary"
form="gtri/jbpm/pilot/demo/manager_approval.ftl" g="163,10,131,40"
name="manager_approval">
| <on event="start">
| <event-listener class="gtri.jbpm.pilot.LogListener">
| <field name="msg"><string value="In the
manager_approval_test activity - start event - of GTRIHelpRequest
process"/></field>
| </event-listener>
| </on>
| <notification/>
| <transition g="-38,-18" name="Allowed"
to="is_lab_approval_needed"/>
| <transition g="-38,-18" name="Sorry"
to="request_rejected"/>
| </task>
|
|
|
| <decision g="354,85,80,40" name="is_lab_approval_needed">
| <on event="start">
| <event-listener class="gtri.jbpm.pilot.LogListener">
| <field name="msg"><string value="In the
is_lab_approval activity - start event - of GTRIHelpRequest
process"/></field>
| </event-listener>
| </on>
| <transition to="in_lab_approval_email">
| <condition expr="#{(hr_subcategory=='newhire') ||
(hr_subcategory=='newconst') || (hr_subcategory=='badge') }"/>
| </transition>
| <transition to="in_request_handling_email"/>
| </decision>
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247663#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...