[jbpm-dev] [Design of JBoss jBPM] - Allow unlocking Token without knowing the lock owner
camunda
do-not-reply at jboss.com
Tue Nov 25 10:53:42 EST 2008
Currently the API of the Token is a bit too restrictive:
I can lock a token (with a lock owner) and unlock a token (if I know the lock owner). And I can query IF the token is locked (but not by whom).
My use case: A jbpm process instance is started by the ESB, it does that in two steps: 1. create PI and lock Token, 2. signal. If in the second signal an exception occurs I may want to trigger the process later manually, but therefor I have to unlock it.
So I would vote for either a method "forceUnlock()" or at least the possibility to "getLockOwner()".
What do you think?
I will create a JIRA issue for it as well...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192173#4192173
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4192173
More information about the jbpm-dev
mailing list