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

Yes, Absolutely,



Incident manager can report on change request to get all change requests related to 1 or many incidents.


You don't to define system relationships.



Regards,


Sachin


Community Alums
Not applicable

Thanks Sachin. Is that the only way to do?



I have a requirement to create 10 change fields and show them in Incident form related list.


If you add the Change Request->Parent related list on the incident form, I think you will get the effect you are looking for:


Screen Shot 2017-05-10 at 7.04.42 PM.png


Why you need to create 10 change fields on incident form?


You can use related list for relating multiple change request to incident.



Regards,


Sachin


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