When updating a Project Task, the Status is automatically updated, clarification on what does this

Community Alums
Not applicable

When updating the planned end date of a Project Task, the Status is automatcially updated to reflect the RAG. We need to be able to advise our end users as to the exact rules that are in place. However I can't find the information as to what is setting this within the system. Field Watcher did not return any results.

This can be recreated on a PDI (mine is running Rome patch 5).
Steps:

Open a project task
Check the "status" 
Amend the "Planned end date" to today
Save
Confirm the "Status" is updated to "Red"
Amend the "Planned end date" to tomorrow
Save
Confirm the "Status" is updated to "Yellow"
Amend the "Planned end date" to more than 48 hours from today's date
Save
Confirm the "Status" is updated to "Green"

Any help as always is greatly appreciated.

1 ACCEPTED SOLUTION

Hi Aaron,

Business Rule: Set status, override status

https://yourinstancename.service-now.com/nav_to.do?uri=sys_script.do?sys_id=2043575677321010132628489a10613a

Script Includes: PlannedTaskStatus

https://yourinstancename.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=5a5358eb537d1010a887ddeeff7b12d2

 

Mark correct, if it helps.

View solution in original post

6 REPLIES 6

Saiganeshraja
Kilo Sage
Kilo Sage

Green : Planned date is more than 3 days
Yellow: Planned end date is within in 3 days

Red: Planned end date is passed.

Community Alums
Not applicable

Thanks, where were you able to confirm this config?

Did you find a BR that made the change to the Status?

Hi Aaron,

Business Rule: Set status, override status

https://yourinstancename.service-now.com/nav_to.do?uri=sys_script.do?sys_id=2043575677321010132628489a10613a

Script Includes: PlannedTaskStatus

https://yourinstancename.service-now.com/nav_to.do?uri=sys_script_include.do?sys_id=5a5358eb537d1010a887ddeeff7b12d2

 

Mark correct, if it helps.

Hi, 

 

Sorry to resurrect an old thread but running into difficulties with a new Status we've added to Project Task (Amber) which essentially replaces Yellow. When I update the Planned End Date to be in less than 3 days, it sets Status to Yellow, despite the Business Rule you mention above being deactivated (I did this to troubleshoot) and the Yellow choice value being disabled. I can't seem to find what is setting the Status field aside from the aforementioned BR and SI, I've used Debug but nothing is showing up aside from the value changing (in Script Tracer). Incidentally it is also changing to Green and Red when the dates are changed to coincide with the logic mentioned above. Any help would be greatly appreciated. 

 

Thanks, 

 

P