View All Attachments from sc_task and sc_req_item and vice versa

mythNOW
Tera Expert

Hello ServiceNow,

 

I am having trouble configuring a relationship (sys_relationship.list) to fulfill the following requirements.

 

Any attachments submitted/uploaded to the RITM should also be visible on all SCTASKS.

And vice-versa, any attachments uploaded on a SCTASK should also be visible on the RITM.

 

I do not want to copy attachments as this will bloat our instance. I just need a solution that ensure all attachments associated to the RITM is visible on SCTASK and RITM.  

 

Thank you everyone.

1 ACCEPTED SOLUTION

Slava Savitsky
Giga Sage

Instead of giving you the code that would only address the specific RITM/SCTASK use case, I would rather refer you to @Jim Coyne's blog post where he describes a comprehensive and scalable solution for displaying attachments from related records.

View solution in original post

2 REPLIES 2

Slava Savitsky
Giga Sage

Instead of giving you the code that would only address the specific RITM/SCTASK use case, I would rather refer you to @Jim Coyne's blog post where he describes a comprehensive and scalable solution for displaying attachments from related records.

Thank you! This was exactly what I was looking for. I appreciate your help.