Skip to main content

Notifications

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.

  • Suggested answer
    Parag Chapre Profile Picture
    12,252 Most Valuable Professional on at
    RE: Creation of Leave Request Via Power Automate.

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,259 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,988 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans