[jboss-dev-forums] [jBPM Development] - end-tasks attribute in task node
sam ni
do-not-reply at jboss.com
Thu Jun 6 02:27:35 EDT 2013
sam ni [https://community.jboss.org/people/sam435] created the discussion
"end-tasks attribute in task node"
To view the discussion, visit: https://community.jboss.org/message/821632#821632
--------------------------------------------------------------
I'm having a set of task instances for a task. These are getting created in the action class within the node-enter event of the task node.
I have added the attribute end-tasks="true" and I am having a timer for the task.
When the timer is completed, all the tasks have to be ended and execution should go to next node.
This seems to work fine if any of the task instances have not been ended.
If I end one of the task instance and the remaining ones are still open, the task is not ended even after the timer has completed.
<task-node name="task node" create-tasks="false" end-tasks="true">
<event type="node-enter">
<action name="test action" class="com.TestAction">
</action>
</event>
<task name="task1" >
<timer duedate="2 minutes" transition="signalcheck">
</timer>
</task>
<transition to="next node"></transition>
</task-node>
I'm using jbpm v3.
Please help.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/821632#821632]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130606/4e59fa00/attachment.html
More information about the jboss-dev-forums
mailing list