- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2023 04:17 PM
Hello,
I am trying to add a related list on the incident form that has related communication tasks from the incident_alert_task table. I created a relationship below . it shows me all records from the incident_alert_task but not of the specific incident when I open the incident. What am I missing?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2023 08:23 PM
Hi @Liz Abraham ,
Please correct the code in the Relationship Communication Tasks as shown below
function refineQuery(current, parent) {
current.addQuery('source_incident', parent);
})(current, parent);
I have tried on my PDI and its working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2023 08:23 PM
Hi @Liz Abraham ,
Please correct the code in the Relationship Communication Tasks as shown below
function refineQuery(current, parent) {
current.addQuery('source_incident', parent);
})(current, parent);
I have tried on my PDI and its working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2023 05:40 AM
@Manmohan K , Thank you but unfortunately it is not working on my PDI. it still shows me all the tasks. I had installed the major incident plugin the other day on my PDI and uninstalled it. would any functionality be overriding it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2023 06:11 AM
Did you add the related list on incident form after creating relationship. If yes, Can you share the image of related list on incident form where you see tasks on your PDI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2023 01:04 PM
I reset my instance and created the plan and task and now it works ! Thanks @Manmohan K !