How to add one more line item in Related Records Page in SOW view?

ameybhaisar
Tera Contributor

Need to add a new entry here in this list in SOW view. How can we add it ?

ameybhaisar_0-1743518013510.png

 

2 ACCEPTED SOLUTIONS

Shivalika
Mega Sage

Hello @ameybhaisar 

 

1)Just go to "Relationships" under "system definition". 

Using the conditions and table build the relationship between the tables you want this related list for. 

 

2)Go to "Related list" table - Search for the table you want to add this and View as "Service operations workspace". 

 

3)Add this related list in below as format - REL:"sys_id" of relationship. 

 

I created for user's tasks on interaction in SOW this week. 

 

Please try this and let me know if stuck. 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

 

View solution in original post

@ameybhaisar 

when your RITM is created you need to populate it's sysId in CHG parent field -> this you already did

Now for your 2nd related list to show -> you should populate parent field of RITM with CHG syId

But logically how can RITM and CHG be parent of each other?

Since you created CHG from RITM, it makes sense to have CHG as child of RITM

but why to have the other way round?

Please discuss this with your customer

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

14 REPLIES 14

Hi @Shivalika  I couldn't find any field on RITM which store change request. Shall I create a new field and proceed ?

 

Hello @ameybhaisar 

 

there must be some related list. Please check. Is it One to one relationship ? 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Hi @Shivalika 

 

There was a related list on RITM table -- 'Change Requests > Parent' which i added and it correctly shows the change request created.

 

Similarly, there is a related list on Change request table -- 'Requested Item > Parent'. But when i added this on the form it remains empty. It does not show the parent requested item.

 

 

ameybhaisar_0-1744005486248.pngameybhaisar_1-1744005507825.png

 

Hello @ameybhaisar 

 

It's because there would be no parent of requested item. Can you share screenshot once, is it on interaction table only ? 

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Hi @Shivalika  Thanks for your response. I added a new field on change request table which stores the requested item. I then created a relationship between change_request and sc_req_item table and added this in the script.. 

    current.addQuery('sys_id', parent.u_requested_item);
Now its populating correctly.