"kukeltje" wrote : Additional info reagarding the assignment in swimlanes
Thanks!
But so far no luck setting the swimlane to start with; no matter where I try to
get my event handler invoked, the injected TaskInstance is always null when
invoked from a parent process.
For example:
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="survey">
| :
| <task-node name="survey">
| <task name="survey">
| <!-- The same results for task-start or task-assign -->
| <event type="task-create">
| <action name=".." expression="#{taskAssigner.setSwimlane}"
/>
| </event>
| </task>
| :
| </task-node>
| </process-definition>
And likewise when setting the event handler on the task-node:
<process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="survey">
| :
| <task-node name="survey">
| <event type="node-enter">
| <action name=".." expression="#{taskAssigner.setSwimlane}" />
| </event>
| <task name="survey">
| :
| </task>
| :
| </task-node>
| </process-definition>
When starting the sub-process directly (so, not from within some process-state
in a parent process) then I do get a TaskInstance injected though...
Like I said: to be continued... I hope!
Arjan.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032781#4032781
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032781
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user