Hello guys
I have a big problem and I don't know how to solve it.
I have a date field in a sharepoint list, through flow I need to add 3 days to that date and check if the result matches today.
Date + 3 days = today -> send email
how can I do?
Thank you!
Solved! Go to Solution.
Hi @Vale_2290 ,
What type of Check field? If its type is a single line of text, please apply @fchopo โs recommendations to adapt your Flow.
It should be noted that we need to add a single quote outside the expression.
Like:
If its type is Choice, I am afraid that this filed cannot be configured in Filter Query.
You need to use Condition or Filter array to filter items.
And you need to use Check value as a filter.
Like:
Please take a try and feel free to let us know if you have any other questions.
Best Regards,
@Vale_2290 there are probably more elegant ways of doing it, but I like the Compose control so have used that a few times as follows. The SharePoint list has a date column:
For date comparisons we need to make sure the format is in yyyy-MM-dd format for everything:
The email result has added 3 days to the ReminderSent column and if it matches today has sent the email. I didn't bother to re-format the date back to my date format but you could do that if you needed to.
Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.
Proud to be a Flownaut!
Hello @Vale_2290
Recently I faced a similar problem and solved it in the following way:
In the Get Items action you could filter the query with the formula:
ReminderSent eq ''@{addDays(utcNow('yyyy-MM-dd'),3)} and Check eq @{null}
so you onlye get those items whose ReminderSent is 3 days from today and check field is null. After that, we build a table with the selected fields (title and date) and send it by email.
Hope it helps!
Ferran
Hi @Vale_2290 ,
What type of Check field? If its type is a single line of text, please apply @fchopo โs recommendations to adapt your Flow.
It should be noted that we need to add a single quote outside the expression.
Like:
If its type is Choice, I am afraid that this filed cannot be configured in Filter Query.
You need to use Condition or Filter array to filter items.
And you need to use Check value as a filter.
Like:
Please take a try and feel free to let us know if you have any other questions.
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 |
---|---|
85 | |
58 | |
47 | |
38 | |
34 |
User | Count |
---|---|
91 | |
76 | |
74 | |
61 | |
42 |