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.

Change and Incident Relationship

arnabbose
Tera Expert

Hi,

I want to add multiple CRs like below under related list of my Incident form.

After adding, when i go to my CR forms, I should see the Incident# under related list of my Change Form.

Note: I don't want to create multiple CR reference fields on my Incident form because I don't know how many CRs will be required to be tagged.

find_real_file.png

1 ACCEPTED SOLUTION

shloke04
Kilo Patron

Hi Arnab,



An Update on my existing post, in order to achieve your requirement,you need to navigate to Many to Many Relationship Table i.e. sys_m2m.LIST from Application Navigator search bar and configure a new Relationship as shown below:



find_real_file.png



So Now as per the above Screenshot, you need to add the New Related List named "Change Requests" on the Incident form for attaching Change Request record to the Incident form and Similarly Incident Related List on the Change Request form.



Here Change Request and Incident Related List are the M2M from Lable & M2M to Label field values configured in the M2M table as shown below:



find_real_file.png



find_real_file.png



Similarly for Change Request form as below:



find_real_file.png



find_real_file.png



Hope this helps.Mark the answer as correct/helpful based on impact.




Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

View solution in original post

10 REPLIES 10

randrews
Tera Guru

Why not just show the parent field on the change form as read only.. and put in a show hide ui policy that makes it only show if the parent is not empty?



if you WANT it on the related lists.. .there should be a built out relationship for parent.


randrews
Tera Guru

one other thing you MIGHT consider.. is adding a new list collector to the change form.. incidents caused by change...



this way change management can update changes with incidents that were caused by the change...


then on the incident form you can add a field "Caused by change" and filter it for changes that include that incident in the incidents caused by change field.


shloke04
Kilo Patron

Hi Arnab,



An Update on my existing post, in order to achieve your requirement,you need to navigate to Many to Many Relationship Table i.e. sys_m2m.LIST from Application Navigator search bar and configure a new Relationship as shown below:



find_real_file.png



So Now as per the above Screenshot, you need to add the New Related List named "Change Requests" on the Incident form for attaching Change Request record to the Incident form and Similarly Incident Related List on the Change Request form.



Here Change Request and Incident Related List are the M2M from Lable & M2M to Label field values configured in the M2M table as shown below:



find_real_file.png



find_real_file.png



Similarly for Change Request form as below:



find_real_file.png



find_real_file.png



Hope this helps.Mark the answer as correct/helpful based on impact.




Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

This works! But my ITIL user-base is not able to perform this functionality...



Do I have to create ACL's on u_m2m_change_requests_incidents ?


find_real_file.png


Its Done from my side, pls disregard my last query!