I need Changes added to the Caused by Change related list on a Parent INC to automatically show.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2022 06:56 AM
I need Changes added to the Caused by Change related list on a Parent INC to automatically show on the Child INC as well so we can keep better record of Incidents Caused by Changes. Is this a script within the BR? I tried through the filters and it wouldnt save.
- Labels:
-
Change Management
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2022 04:52 PM
Do I understand this correctly? A child incident should have a related list that shows Changes Caused by its Parent Incident?
That's not a solution you need script for. You can build a custom relationship to handle that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2022 07:08 AM
How do I start building that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2022 05:37 AM
System Definition -> Relationships
Take a look at a few of them in the list to get a hang of it.
In this case...
Applies To means "where will this related list be available"
Queries from means "what kind of records will be in the related list"
Inside the function you put the query parameters.
Current is the table you're querying from, NOT the table the related list is appearing on
Parent stores values form the record where the related list will appear.
So you'll probably build one applying to Incident Task applying to the Change Request. And your query parameter will be something like...
current.addQuery('<whatever your caused by field is>, parent.incident());