[jboss-user] [jBPM] - Re: Release task in LocalTaskService in jBPM5.2

Rahul Agrawal do-not-reply at jboss.com
Mon Oct 1 06:46:33 EDT 2012


Rahul Agrawal [https://community.jboss.org/people/rahulamt] created the discussion

"Re: Release task in LocalTaskService in jBPM5.2"

To view the discussion, visit: https://community.jboss.org/message/762472#762472

--------------------------------------------------------------
The cause is that the Task instance is not persisted in the database so the status is not updated.

I am adding a case statement here after skip.
 case Skip: {
                      postTaskSkipOperation(task, userId);
                      break;
                  }
 case Release: {
                            postTaskReleaseOperation(task);
                            break;
                  }

and in postTaskReleaseOperation(task); added the following...


private void postTaskReleaseOperation(Task task) {
                    // We may add some even support trigger here.
              persistInTransaction(task);     
          }
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/762472#762472]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121001/8fcff19d/attachment.html 


More information about the jboss-user mailing list