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