Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Configure Parameters on Classic Project Workspace Cards

Elena Piske
Tera Contributor

Instructions:

As the Project Manager, I would like to include "closed complete" risks on the Classic Project Workspace, so that I can keep track of all risks of a project.

Business Acceptance Criteria:

  • Closed complete risks are counted on the cards in the Classic Project Workspace.

Technical Acceptance Criteria:

  • The number 3 has been added to the end of the homecard configuration scripts for all the 4 states where the value is = Updates:

               {"type": "agg", "table": "risk", "condition": "top_task=#^risk_stateIN-5,1,2,3"}

 

I have this in the Implementation simulator and I need help. Can someone quide me step by step please!

2 REPLIES 2

Chaitanya Redd1
Tera Guru

Hi Elena,

Please go through below steps.

<instnace name>/pm_home_page_config.do?sys_id=ae54631e87dc03008b9b3a0548cb0ba6&sysparm_record_target=pm_home_page_config&sysparm_record_row=1&sysparm_record_rows=1&sysparm_record_list=

Please go to Related list you can see below highlighted records open all records which has Value has Updates and update below script in the content field

find_real_file.png

 

[
 {"type": "agg", "table": "risk", "condition": "top_task=#^risk_stateIN-5,1,2,3"},
{"type": "agg", "table": "issue", "condition": "top_task=#^active=true"},
{"type": "agg", "table": "project_action", "condition":"parent=#^active=true","label":"Action"},
  {"type": "agg", "table": "pm_project_task", "condition": "top_task=#^end_date&lt;javascript:gs.beginningOfToday()^work_endISEMPTY", "label": "Delayed task"}
]

find_real_file.png

If my solution helps please mark it as helpful.

 

Thanks,

Chaitanya

Swetans
Tera Contributor

under Project administration>project workspace, click pm_project table, In addition to the above post, I would like to add that same script to other closed, work in progress, and pending update the card and validate tasks.

[
 {"type": "agg", "table": "risk", "condition": "top_task=#^risk_stateIN-5,1,2,3"},
{"type": "agg", "table": "issue", "condition": "top_task=#^active=true"},
{"type": "agg", "table": "project_action", "condition":"parent=#^active=true","label":"Action"},
  {"type": "agg", "table": "pm_project_task", "condition": "top_task=#^end_date&lt;javascript&colon;gs.beginningOfToday()^work_endISEMPTY", "label": "Delayed task"}
]