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 09:18 PM
You can have a reference field on RITM table which refers to itself, and when you create the child tickets, make sure you assign the parent ticket sys_id to that reference field.
Its pretty common way of making the parent child relationship in the same table, its in core_company, cmn_location etc
Mark if it is correct or helpful, feedback is appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2016 09:29 PM
Hey srikanth ,
How to do that ,
the customer who is working on servicenow .They want to create chid ticket .
On default view of requested item ticket , we dont have any deference field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2016 09:43 PM
You can create a new column sc_req_item with the name Parent Request Item - go to any requested item
Configure -> Table
Enter the column like below
The new field will be available in the default form layout
It will be at the bottom above related lists
So use configure -> form layout to bring it to proper position
Open any RITM for ex: RITM0000001 and put RITM0000002 in the Parent Request Item
Open RITM0000003 and put RITM0000002 in the Parent request item
Then Right Click on header-> Configure -> Related lists
Select the below related list from left sluschbucket, move to right
Open RITM0000002, you will see the child items in the related list
Mark if it is correct or helpful, feedback is appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2016 10:10 PM
hey Srikanth , thanks for help.
In my Instance , not having requested item -parent request item in related list .