Hi Sankar,
In addition to that you can follow these steps,
You can either follow these steps.
Step 2 i have done to reduce the retrieval because in step 1 we have used two activity, this is also one of the best practices and will be useful for performance
Hi Sankar,
In addition to that you can follow these steps,
You can either follow these steps.
Step 2 i have done to reduce the retrieval because in step 1 we have used two activity, this is also one of the best practices and will be useful for performance
Hi Sankar,
I have not fully developed you usecase,
Below is the screenshot for account and department,
If you want to retrieve all the leave request
Hi Sankar,
Correct me if I’m wrong, you’re trying to implement leave request application based on their department so that their department manager will be able to approve or reject.
In this case, you’ll need to implement create simple leave request based on the current user. Once the person applies for the leave, you need to ensure that those leaves are shown to the particular department manager only.
First, you can work with microflow from employee’s end which will consists of add leave request. Second, when manager log’s in, he’ll be able to see list of leaves only for his department. Here, you need to add microflow on the listview or datagrid (whichever you’ll be using to show leave list) where list of leaves will be based on current user’s department.
I believe this logic will work for you. Please ping me if you need any help on the same.
Regards,
Ashishkumar
Hi Sankar,
you’ll need to retrieve the account first from DB, with [id = $currentuser], this can be used in the comparison.