How to Give choice to logged user to assign task to specific actor manually
I am creating one application : leave management .
now i m employee and i need urgent leave , my manager is already absent . i know my collouge manager and he can pass my leave now i want to dynamically choice the manager who will validate my leave app .
so as developer what should i implement .
Hello, you have different strategies : * in the actor definition, add your manager and your collegue manager. Task will appears to the two persons, and if your manager is absent, your collegue can take the case
you can use the actor filter. This mecanisme calculate dynamicaly the user (you write it in JAVA, so you can do what you want). Note that the actor filter run when the case arrive on a task. So, if the case is assign only to your manager, what ever you change, the person who can access the task is the same. Nota1 : by the API, you can force the engine to replay the actor filter
as an administrator, you can assign the task to a different user. This is a manual operation. Same : by the API, you can automate this function (search all task in the activity, and reassign each task).