1 person found this helpful
We implemented the same scenario using the Xpath without using the LDAP server to fetch the users.
First we created the HUman Tasks for multiple levels leke Manager, Senior Manager,Delivery manager, Account Manager and etc,.. then for each level i.e., Each Human Task we have set the Boundary timer event and the expression for the Timer event as follows.
Hope this helps you.
Thanks for the reply.
But we don't want to create different human tasks for the different levels.
We just want to assign the same task to the different level.
If you check then in .task file under "Deadline" we can specify the "Task duration setting" and there are only 3 levels i.e. Manager, director, CEO.
-> Suppose we have user1, user2, user3, user4, user5, user6, user7.
-> Then lets say user2 and user3 are part of Manager level
-> User4, user5 are part of Director level
-> User6, user7 are part of CEO level
Now, there are 2 things-
1) if the task is escalated from user1 then it should be assigned to all the users of next level...and so on
2) now there are only 3 pre-defined levels but what if in an organization we have other levels as well in between these 3 then what i know is we can define "Organization Unit" in "Organization"...but if we define the organization unit there then how to use it for escalation.
Do one thing...
1) Firstly write a EJB Class and by using EJB adapter fetch all the groups and the users using EJB service call ....
Group A Has 2, 3 Users with a manger
Group B Has 4, 5 Users with a Director
Group C Has 4, 5 Users with a CEO
2) Send the mails to all the Users and the Manager/Director / CEO of that group respectively if a specific task is not completed by any of the users then escalate to his supervisor/Reporting-manager
Hope iam on the same page!!