Pooja Arora [
https://community.jboss.org/people/arorapo] created the discussion
"How to undo/rollback a stage in workflow"
To view the discussion, visit:
https://community.jboss.org/message/776643#776643
--------------------------------------------------------------
Hi
Our application (using JBPM 5.1.0 final+ Hibernate+Spring), deployed on tomcat 6.0.26 gets
an issue where sometimes when user completes a stage next stage does not become active.
We are unable to find out reason behind the same. So, to give a workaround we tried to
rollback last operation performed by user.
We are taking below steps for te same :
1) Moving that Task into Ready state so that it can be claimed again
Update task set status = 'Ready', ActualOwner_id = null where id =
<task-id>
2)We have audit tables for processinstanceinfo and WORKITEMINFO. So we also rollback last
state into these tables.
So I am updating these three tables :
Task, processinstanceinfo, WORKITEMINFO
After this when we claim a task, JBPM completes it without any error but still it
doesn't create the next stage.
Please clarify us with this issue and below set of queries.
Our application create workflow subprocess at every state. Just wanted to understand when
does a new entry get added/removed from processinstanceinfo?
AM I missing any other table which needs to be updated ?
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/776643#776643]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]