I am trying to write a flow that will return D365 tasks whose Description field contains a specific text string. In the Flow, the text string is contained in a variable called Hash (if it matters, Hash is about 95-125 characters long and has no spaces). I am using the "List Records" action, and have tried a few different formulas in the "Filter Query" section but can't seem to make it work. I have tried:
Can anyone suggest a filter query that will return D365 Tasks that have the Hash string somewhere in the Description field? Thanks!
Solved! Go to Solution.
Problem solved! When I recreated the filter query using one of the same formulas as above (the "contains" version), but using the Dynamic Content box to build the query instead of doing it manually, the flow finished successfully and the Task was found. Not sure why that made the difference, but thought I would update here in case someone runs into this in the future. Cheers!
One more detail. I am evaluating whether any matching tasks are found with the following Condition:
length(body('List_records')?['value']) is greater than 0
Problem solved! When I recreated the filter query using one of the same formulas as above (the "contains" version), but using the Dynamic Content box to build the query instead of doing it manually, the flow finished successfully and the Task was found. Not sure why that made the difference, but thought I would update here in case someone runs into this in the future. Cheers!
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 |
---|---|
42 | |
37 | |
37 | |
35 | |
25 |
User | Count |
---|---|
39 | |
37 | |
33 | |
31 | |
25 |