Hi,
I currently have a Power Automate flow that is manually triggered. When it does, it calls teh Salesforce connector "Get Records" to obtain records. Below is the properties:
The formulas are the following respectively:
formatDateTime(utcNow(), 'yyyy/MM/dd')
formatDateTime(addDays(utcNow(),-90), 'yyyy/MM/dd')
When I run it, I get the following error:
If I put quotes around the 2 formulas in the filter, I get a different error:
The full error is:
Salesforce failed to complete task: Message:
(Krow__Project_Status__c = 'Complete')) AND (Krow__Completion_Date__c <= '2024/04/10'))
^
ERROR at Row:1:Column:4261
value of filter criterion for field 'Krow__Completion_Date__c' must be of type date and should not be enclosed in quotes
clientRequestId: 0ce54a0a-63cd-496c-9d82-cea7127e8c9a
I also tried using the ticks function, but it doesn't seem to work. I was wondering how to filter records based on whether on how many days it was completed?
Jason

Report
All responses (
Answers (