Leave request

1
Hi, Experts  I’m working in Leave request application In that I want to separate the request based on Department . If a employee is applying leave the request has to sent to his department manager alone Not to other managers  
asked
2 answers
1

Hi,

Use Xpath to filter the request based on the departments in manger’s dashboard

like [department =  $manager/account.department ]

Make sure to replace $manager with the appropriate XPath expression or variable representing the manager's data.

answered
0

You need to make a department entity and make a references to employers of that department and make another reference to the manager(s) of that department. This way when a department is selected you can then retrieve the department of this employer and from the department retrieve the manager(s) of that department.

Regards,

Ronald

 

answered