Tying a Change Request Child instance to it's parent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2017 04:34 AM
I am consuming the Change Request service/table. On the SNOW UI, I could see a Change Request tab on the bottom of the table.My task is to tie a child instance to it's parent and make it visible under this tab. This I want to do it from my SNOW web service consuming code . Currently I only populate the parent Change Request.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2017 12:47 PM
A Change Request has a reference to a parent Task. If there is a related list on your Change table, then any Tasks that reference the current CR as parent should be displayed in the list. This may be as easy as just setting the parent field of the change request when appropriate.
Right click on the header of the Change Request form, select Configure > Related Lists. This should give you some hint about the way the related lists are currrently configured.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-07-2017 10:07 PM
Thanks Andy for you reply. I was also guessing about setting the parent field. But can you please let me know the content of the parent field. I tried to add the sysId of the parent CR on the parent field of current CR, but that did not work. I should add that I am calling it as web service.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-08-2017 08:32 AM
Normally a Change Request will have one or more Change Tasks associated with it. Each of the tasks will have its parent reference set to the same Change Request. About the mechanics of setting the fields, I would really need to know the details of the code you are trying to use.