
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 03:07 PM
I have 10 change requests fields in my incident form.
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?
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?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:13 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:30 PM
Thank you dvp. This is what exactly I was looking for.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:33 PM
Sachin & Joe, thanks for your help. That is the right way to do, I agree.
But, my team is asking for this kind of functionality, so I wanted to try it in my way. Finally it worked as dvp said.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:36 PM
No worries, if that worked for you. Just realize there will be limitations both with the number of changes and the ability to use the Edit button. But if it suits your purposes, that's what matters.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 04:47 PM
Thanks Joe. Script is working now. Good for now.:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2017 11:02 PM
Hi Rajinis,
Could you let me know where was the above script written, was it business rule or client script
Thanks in advance
Saahil