I want to add a record to a related list via script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2019 01:35 PM
I have a variable (referencing: cmdb_ci_computer) on a catalog item, and I would like to add the referenced computer to the "affected CIs" related list on the requested item record. I don't know how to refer to the related list in my script.
Specific use case ... after the last task in the requested item workflow is completed, I want to make the entry to the appropriate related list on the RITM being completed.
Thanks!
- Labels:
-
Service Desk

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2019 03:12 PM
Oh! Okay!
Can you share your script with me?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2019 03:29 PM
Hi Priyanka,
Thank you for helping with this. I actually haven't started writing yet. I was referring to the script that you linked me to.
- Jon

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-18-2019 03:31 PM
Oh! No worries.
Let me know if you need any more help.
Happy scripting! 🙂