Hello.
This is my first post here so please bear with me. I've just started on my Dynamics learning journey.
I'm trying to update a new field in Opportunities which captures either if an opportunity is overdue or if any of the activities related to the opportunity are overdue.
I’ve created a new field in opportunities called ‘Old Activities’. This is a rollup field which captures the earliest ‘due date’ on any open activities related to the opportunity.

I have also created a calculated field called ‘CurrentDate’ which captures today’s date.

I have created a new process (workflow) as below which should set the ‘Activity Status’ field.

This last step doesn’t seem to be working.
The requirement is as below.
If ‘Est Close Date’ & ‘Old Activities’ fields are older than today, then set ‘Activity Status’ field to ‘At Risk’
Or
If ‘Est Close Date’ field is older than today then set ‘Activity Status’ field to ‘Overdue Opportunity’
Or
If ‘Old Activities’ field is older than today then set ‘Activity Status’ field to ‘Overdue Activities’
Or
If ‘Est Close Date’ & ‘Old Activities’ fields are equal to or newer than today, then set ‘Activity Status’ field to ‘On Track’
This needs to run overnight or hourly rather than on status change.
I've just started out on Dynamics so I'd be glad if anyone could offer some advice or point me in the direction of a better way to get to the end result.
Many thanks,
Russ