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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Creation of Leave Request Via Power Automate.

(0) ShareShare
ReportReport
Posted on by 70

Hi,

I have created a power automate which runs when the email is received on the basis of the data it creates a leave request.

The problem is I am inserting data in Leave Request and Leave Request Detail Entities there is no such field as Reason Code in it only Leave Type is available 

When we open that leave request Reason code is showing empty.

I have tried to update the virtual table Leave Time Off Request v2 with leave request but its unique identifier mshr_leaverequestentityid contains the same value for respective records of leave requests

i.e if a leave request is for more than 1 day mshr_leaverequestentityid its value would be the same for each record and Update a row(Dataverse it getting failed on this)

Kindly share a solution or possibilities of setting up the reason code in leave requests.

I have the same question (0)
  • Suggested answer
    Parag Chapre Profile Picture
    12,254 Most Valuable Professional on at

    Hi Muhammad,

    You can use the comment field in a Leave request and there is no reason code field available on those two entities.

    The reason code field setup depends on Leave type. 

    pastedimage1628606256857v1.png

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 June Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 410 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 390

#3
Martin Dráb Profile Picture

Martin Dráb 262 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans