How to relate multiple change request to an Incident?

Community Alums
Not applicable

I have 10 change requests fields in my incident form.

find_real_file.png

I want these 10 change requests to show up in the Incident Form Related List. Right now, only one can be listed. How to show all 10 change requests?

find_real_file.png

This is the Relationship I created. Need your help to link many change request to one Incident. Is this possible to do? or, any other suggestion?

find_real_file.png

1 ACCEPTED SOLUTION

dvp
Mega Sage
Mega Sage

Here is the query



current.addQuery('sys_id', parent.change_1_field_name).addOrCondition('sys_id', parent.change_2_field_name);



likewise add the rest of the change fields


View solution in original post

16 REPLIES 16

SanjivMeher
Kilo Patron
Kilo Patron

Hi Rajini,



You should relate all the change request using related lists, instead of creating indivudial fields for each change.



Right click on the column header of the related list and click on List Control. Enable Edit button. And then you will eb able to map multiple change to same incident.



Please mark this response as correct or helpful if it assisted you with your question.

Joe McCarty1
ServiceNow Employee
ServiceNow Employee

If you set the Parent field on the Change to reference the incident, you can add the Change Request->Parent related list to the incident form.   That will allow related multiple change requests to an incident.   Any use of the rfc field on incident will be 1 change per incident solution even if you try to wrap it in relationship definition.


sachin_namjoshi
Kilo Patron
Kilo Patron

Hello,



You can reuse OOB related list on incident form to related multiple change requests to incident.



find_real_file.png



find_real_file.png



Regards,


Sachin


Community Alums
Not applicable

Thanks Sanjiv & Joe.



Are you saying that the way I try to do is not going to work?


so, all I have to do is just add the "Change Request->Parent" related list to the incident form. Using the Edit button, user can relate multiple change to this Incident? Does this help in reporting purpose, like if Incident Manager wants to see the Change Requests related to Incident?