How to create parent child relationship in service catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2016 09:16 PM
E.g RITM10078 is a parent ticket
RITM0089,RITM0097 is a child ticket .
How these ticket will be dependant .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2016 10:17 PM
Hi Stela,
When you are creating child items , simply assign parent to it.
var grRItm = new GlideRecord('sc_req_item');
grRItm.initialize();
grRItm.parent = 'sys_id_of_parent' ,
...
.;
grRItm.insert();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2016 10:40 PM
Hey ,
i have created one field parent request item ,but not able to select the RITM No.
Its showing list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2016 10:19 PM
If the child RITMs been created automatically by workflow .. then you could update the existing child RITM and assigning parent to them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2016 10:58 PM
No need to create a custom field. just make assignment like child.parent = 'sys_id_of_parent' and then include Related list of parent RITM.
Configure related list of RITM and include Requested Item -> Parent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2016 12:48 AM
Hi Gurpreet ,
I have created one reference field parent request item and when selecting any RITM , i am not able to select it .