I have a Sharepoint list with a date field "Late Return".
I also have a calculated date field "Late Return chase due" which is set to 7 days after "Late Return".
I also have a date field "Received".
I'm trying to create a Flow which fires on the date in "Late Return chase due, and only if "Received" is null. I've read many articles on the subject and I can't work out where I'm going wrong. I continue to receive the "NO late return chaser" email. I'd be really grateful for some help.
Condition is:
Late return chase due - is equal to - utcNow('dd-MM-yyyy')
Received - is equal to - null
Solved! Go to Solution.
Hi @hungatebevis ,
Please try to add an integer variable to check if there are eligible items, if it does not exist, send the "NO late return chaser" email.
And you could add a Compose above Condition to check if the value of the date column is equal to the current date.
Then you could check the flow run history to find the cause of the error.
Image reference:
Hope this helps.
Best Regards,
hi@hungatebevis to compare nulls in sharepoint just you need to leave the field in condition blank or just write null not as a fuction just type null.
Please test it.
Proud to be a Flownaut!
Hi Christian, I just removed that altogether so I'm just left with
Late return chased due - equal to - utcNow('dd-MMMM-yy')
And it refuses to come back with a "yes". It's really driving me crazy.
Bevis
@hungatebevis the correct format is like
formatDateTime(utcNow(),'yyyy-MM-dd')
see the docs
Proud to be a Flownaut!
Proud to be a Flownaut!
As has been mentioned, you can't use a calculated column. However, all you need to do is to use an addDays() expression in your condition or OData filter. You can use a negative number with addDays().
Hi @hungatebevis ,
Please try to add an integer variable to check if there are eligible items, if it does not exist, send the "NO late return chaser" email.
And you could add a Compose above Condition to check if the value of the date column is equal to the current date.
Then you could check the flow run history to find the cause of the error.
Image reference:
Hope this helps.
Best Regards,
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
80 | |
55 | |
55 | |
43 | |
40 |
User | Count |
---|---|
83 | |
81 | |
76 | |
65 | |
42 |