How can I check that a date field is updated before 5 months ago or less than 5 months ago ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 07:15 AM - edited 06-21-2023 07:48 AM
There are total 5 fields on a report table, for example: A,B,C,D,E
D field is a date field. E field is a choice field having values like x, y and z and it is a read only field.
I have to set that E field value based on below conditions:
(1) x -> At least one of the field (A/B/C/D/E) is not completed or D the date field was updated before 5 months ago.
(2) y -> D the date field was updated less than 5 months ago and all other 4 fields (A/B/C/E) are completed.
(3) z -> The scheduled report is Active = False
Can anyone please help me out ASAP as it is urgent.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 08:07 AM
So they only want it updated when the form is opened, or should they also be able to query on that data?
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 08:18 AM
They want it every time whenever record is inserted or updated.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 02:26 PM
Then the same could be done with a flow which triggers on insert or update on these records.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 07:19 AM
Try this:
Please mark my response as correct and helpful if it helped solved your question.
-Thanks