I was thinking of adding the timeFrame(int) to the PMdate and comparing it today’s date(using isAfter) to determine if this task is overdue or not. When Today’s date is after redDate then change backround of that row to Red color.
It’ll be noisy, but you can try dumping some print statements in (maybe limit your dataset to only a few rows) - print the final cellConfigurations before it’s returned, print the redDate and PMdate values, maybe add a print inside the elif to see if it’s getting hit.
Thank you. you are right. That was another one of my mistakes that needed fixing.
Right now this appears to be what will work. This is still testing in the Script Console Tool.
OK I finally have what we were looking for.
See the pic below for configureCell scripting and also a example of how the table looks.
Thank you PGriffith, jpark and grietveld for your help.