6 Replies Latest reply on Nov 28, 2008 7:56 AM by tom.baeyens

    Allow unlocking Token without knowing the lock owner

    camunda

      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...