Hi,
I’m developing a leave management system with Bonita 7.0.1 Community. Basically, an employee creates a leave request that must be approved by his manager. The processes works fine and I have developed a client application using AngularJS. The application allows the user to start processes and execute tasks assigned to him.
Now here is my problem : if the manager is not here to approve the request it will be pending until he returns. To avoid that, I’d like to allow a specific user (let’s call him A) to execute the tasks assigned to the manager (let’s call him M) when he is absent.
- Validation tasks should be automatically assigned to M
- A should be able to execute tasks for M from the client application
- A should be allowed to execute tasks assigned to M but not tasks assigned to other users
- There are several managers, and A can be a different user for each of them
How can I do it ? Actor filters ? REST API ?
Regards