Hi all,
I have a calculation in a custom form which outputs the number of days between the start-up date of a project and today's date (essentially the "project age" as of today). Here is the formula I'm using:
Views
Replies
Total Likes
UPDATE:
I have generated a report which lists projects containing the start date and the PCR Age.
I was able to fix the automatically calculated "PCR Age" by manually clicking on the "Start On" Date and then clicking on the day (I guess this is like a refresh):
Whilst this does fix the problem, it's not really a long-term solution as it's still a manual fix for every project line item in the report.
Suspect now that there is something wrong with the way Workfront is reading the dates.
-Tom
Views
Replies
Total Likes
Hi @ThomasHo11,
As you've sensed, you're trapped.
$$TODAY changes constantly (as They Might Be Giants pointed out), so the resulting calculated parameter quickly gets "stale", until the next recalculation...to chorus.
If the value of that age warrants doing so, you could use Fusion or our Recalc Parameters solution (which we created for this purpose) on some reasonable cadence to "freshen up" the data (eg each night).
Alternatively, you could filter for the projects of interest each day and either manually recalculate them (or use our Recalc Helper solution, which can handle high volumes)...but were you to forget to do so, confidence might then quickly erode.
For real-time calculations, it might be best to use a valueexpression in a view (and/or report) with the DATEDIFF function: although you'd be giving up the abilities to filter, group, sort, and chart that a calculated parameter persisted in the database would provide, at least the numbers would always be accurate.
Regards,
Doug
Views
Replies
Total Likes