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

Does the same loigc apply to pm_project? I am seeing different behavior for the status field on Projects.  Both Project and Poject Task extend planned_task.

 

Update: I found the com.snc.status_process_planned_task_entities system property is used in the PlannedTaskStatus Script Include to define the Planned task entities to calculate the new status upon end date change.

Yug Bisen
Tera Contributor

@Padraig O_Kane1 , did you find something, I am also struggling with the same issue, I tried deactivating the BR and also the SI, but still the status field showing Red, Yellow and Green as per the calculation.