web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

(Flow) How to get associated Leave Bank Transaction using a Leave Request?

(0) ShareShare
ReportReport
Posted on by 80

Hi all,

I'm currently creating a Flow that fires on the approval of a Leave Request, and it sends an email notification to the payroll manager if it's a specific leave type.

This Flow can be triggered several times as each Leave Request corresponds to each day in the request, so I added a field in the Leave Bank Transaction entity that allows me to check if the email has been sent or not. However, I can only find the corresponding Leave Bank Transaction entity using the Worker ID and checking the Transaction Date and Request Date against each other.

This means that if someone cancels their request and re-submits it, the email won't send as the flow only finds the previous Leave Bank Transaction.

Is there a way to find the specific Leave Bank Transaction associated with the Leave Request entities? According to the entity diagram (I'll put it below) they are only associated using the Worker and Company entities. Or am I misunderstanding exactly how these entities are associated with each other?

https://docs.microsoft.com/en-us/dynamics365/talent/media/hcmcommon-leave-entity-diagram.png

The Flow must trigger on the approval (cdm_status = "Approved" or "Completed") of a Leave Request.

Any help is greatly appreciated!

  • Suggested answer
    Jill Carter Profile Picture
    1,846 on at

    As you note, the leave bank transaction entity is a fairly simple entity that doesn't have a relationship with the leave request. There isn't a way to see what leave request is associated with a given transaction. What you are doing would be the only way to "connect" the two.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 555 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 484 Super User 2026 Season 2

#3
CU10121822-0 Profile Picture

CU10121822-0 378

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans