Hello,
I'm trying to create flow for dynamics 365 (CDS Current environment connector), which should fire if record is assigned to specific user.
I can't set filterexpression - every filter gives bad request error - Exception parsing _ownerid_value eq .......
Tried these ones:
_ownerid_value eq GUID1 or _ownerid_value eq GUID2
_ownerid_value eq GUID1
_ownerid_type eq systemusers and (_ownerid_value eq GUID1 or _ownerid_value eq GUDI2)
Even to check I set the filter as statecode eq 0 as it shown here but got the same result. Could you please help to set the filter correctly.
If I remove filter, the flow works.
Solved! Go to Solution.
Found the workaround, but initial problem looks like a bug.
In the settings of trigger I added two trigger conditions:
1) @or(equals(triggerOutputs()?['body/_ownerid_value'], '33a85ad4-6ba4-4bed-99ea-ef6416c2cb12'), equals(triggerOutputs()?['body/_ownerid_value'], '84c0b005-92e9-e811-a967-000d3ab49764'))
2) @equals(triggerOutputs()?['body/_ownerid_type'], 'systemusers')
Hi @scr1pt ,
You need to add single quotes outside the guid, please take a try again.
Best Regards,
Hi, @v-bacao-msft
The same result.
Found the workaround, but initial problem looks like a bug.
In the settings of trigger I added two trigger conditions:
1) @or(equals(triggerOutputs()?['body/_ownerid_value'], '33a85ad4-6ba4-4bed-99ea-ef6416c2cb12'), equals(triggerOutputs()?['body/_ownerid_value'], '84c0b005-92e9-e811-a967-000d3ab49764'))
2) @equals(triggerOutputs()?['body/_ownerid_type'], 'systemusers')
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
45 | |
45 | |
39 | |
35 | |
23 |
User | Count |
---|---|
48 | |
32 | |
32 | |
31 | |
29 |