cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MBates87
Regular Visitor

Dataverse trigger filter issue

Hi,

 

I'm trying to create a Flow that creates an Outlook calendar entry when a leave request status becomes Approved. I'm having issues with the filter when trying to select rows that have changed Status value to Approved.

 

This is the Leave Requests Dataverse table I am using

MBates87_0-1659607189219.png

 

With the Status column details. 

MBates87_1-1659607280689.png

 

I've noticed there are two Status columns but the one I am interested in is "cdm_Status"

 

My flow trigger is below - When a Leave Request is modified and the value in "cdm_Status" becomes "Approved"

MBates87_2-1659607328313.png

 

However, I get an error

MBates87_3-1659607418157.png

 

 

 

 

{
  "error": {
    "code": "0x80040203",
    "message": "The following filtering attributes are not valid in entity cdm_leaverequest: cdm_Status"
  }
}

 

 

 

 

Any help would be greatly appreciated.

 

Thanks.

 

1 ACCEPTED SOLUTION

Accepted Solutions
MarconettiMarco
Super User
Super User

Hello @MBates87 ,

you need to put the value instead of the label.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

BR,

Marco

View solution in original post

6 REPLIES 6
MarconettiMarco
Super User
Super User

Hello @MBates87 ,

you need to put the value instead of the label.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

BR,

Marco

So Status rather than cdm_Status? Will that not cause an issue with their being 2 Status columns?

@MBates87 ,

if you open your field in power apps solution, you can find the value for each label, like below:

MarconettiMarco_0-1659610385164.png

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

BR,

Marco

 

Got you, so the value is this nonsense number rather than "Approved"?

 

MBates87_0-1659610683250.png

 

ok @MBates87 ,

so get the value number without commas.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

BR,

Marco

.

 

 

It's working! Thank you so much for your help.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (2,656)