Employee should see only leaves applied by him

0
Hi experts, I am building a leave application system. I want to see only leaves that is applied by the employee. Please help me execute this. My domain model and microflow that i currently build in the screenshot. I retrieve account info and changed in leave object and try to add access rule for employe in leave entity, then no records are visible for me.            
asked
1 answers
-1

Hey Harsh,

 

Your xpath is fetching the Account through the Employee association while you are creating an association between the Leave object and the Account object. I don't see any associations being made between the employee entity and leave your microflow.
Try to following xpath:
 [Leave.Leave_Account='[%CurrentUser%]']

answered