How to perform the "Exit" and Administrative Operations in a Human Task in the JBoss BPM Suite 6?

Solution Verified - Updated -

Environment

  • Red Hat JBoss Business Process Management Suite (BPMS)
    • 6.x

Issue

I can call almost all operations but the exit task operation returns the message:

"PermissionDeniedException thrown with message 'User '[UserImpl:'user1']' does not have permissions to execution operation 'Exit' on task id 846'"

Resolution

To be able to Exit and Administrative operations in a Human Task the user that is calling this operation must be in the group called Administrators or you can call this operation with a user called Administrator.

Root Cause

The Exit operation is a Administrative Task, so no one can invoke this Operation unless they have an Administrator privilege.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.