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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Dataverse Dynamics Hr ...
Power Automate
Unanswered

Dataverse Dynamics Hr - Leave request table not working in power automate?

(0) ShareShare
ReportReport
Posted on by 166

Hi, 

I have create an automation that when someone applies for leave an employee's name, their request date, and status get uploaded into a SharePoint list. 

I am wanting to create another automation that when the leave request is approved it changes that status in SharePoint from 'in review' to 'approved'. 

I have started the automation off like this:

 

pastedimage1651470038537v1.png

 

Status is equal to approved - I am basing this condition off information in the dataverse:

 

pastedimage1651470104463v2.png

 

When I run the flow the condition comes up as false when though in dataverse 'leave request table' is says approved. 

When I also look at the raw outputs of the modified trigger of 'leave request' table, there is no cdm_status ??? to indicate whether the leave request has been approved or denied. 

However, if I was to run the leave request table data in a list rows flow the cdm_status column is there but instead of saying 'approved or in review' like on dataverse it has random numbers like 754400000.

 

pastedimage1651470399252v3.png

Does anyone know why this is the case?

 

Thanks,

HS

Categories:
I have the same question (0)
  • Monkeyman Profile Picture
    325 on at
    Re: Dataverse Dynamics Hr - Leave request table not working in power automate?

    Hey

     

    yes it is the number you need to use in your condition not the word “approved”. 

    An choice has values associated with it. You can find these by going to the choice in Dataverse and click the three dots and select view more. 

    here you will find the values you need for the condition. 

    please mark this solution as approved if I have helped you. 

  • Henry G Smith Profile Picture
    166 on at
    Re: Dataverse Dynamics Hr - Leave request table not working in power automate?

    Hello, 

     

    When leave was approved, the automation was trigger but when I look into the output there is no information around the status of the leave? 

    DynamicsHS_0-1651535652194.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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard