This content has been marked as final.
Show 1 reply
-
1. Re: How to define a task that can auto complete when the act
jpechanec Feb 4, 2008 2:03 AM (in response to arnoldh)Hi,
I think the best way to achieve this is to create your own BPM action.
This will be attached to nodes as either node-enter event or to task as task-create event.
In such case you will find out the task (node) you are positioned on and call the end method on it if your conditions are fullfilled.
You should also consider using proper attribute values for signal on task-node and blocking, signalling on task itself
See
http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#task.element
http://docs.jboss.com/jbpm/v3/userguide/jpdl.html#tasknode.element