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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to