jena74 [https://community.jboss.org/people/jena74] created the discussion

"jBPM 5.3 - Human Task Service and administrator user"

To view the discussion, visit: https://community.jboss.org/message/741417#741417

--------------------------------------------------------------
Hello,

I am using the Human Task service in a standalone Java application.
Everything is ok when I don't use the file jbpm.usergroup.callback.properties 
to precise and callback for managing users and groups.
But, when I provide such a file with 
jbpm.usergroup.callback=org.jbpm.task.service.DefaultUserGroupCallbackImpl 
inside, I have the following error:

org.jbpm.task.service.CannotAddTaskException: There are no known Business 
Administrators, task cannot be created according to WS-HT specification

In the documentation, it is written that an Administrator user must exists in 
the Human Task service.
So in my code I have added 
|  | taskSession.addUser(new org.jbpm.task.User("Administrator")); |
but nothing changes and the error is still there.

How can I declare an Administrator user in the Human Task server?
Any idea to solve this will be appreciated.
Thanks a lot.

Jena
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/741417#741417]

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