How can I populate the parent field when creating request from an incident
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 01:31 AM
When creating a new Request from an incident, we the 'Create Request' OOB UI Action. I need to fill the 'parent' field on the new ritm with the current incident value. How can I achieve that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 01:53 AM
why on RITM?
parent field on REQ already gets populated with INC?
Why not use that?
For populating parent on RITM you will require before insert BR logic.
current.parent = current.request.parent;
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 02:16 AM
@Ankur Bawiskar the parent field on the REQ is not populated with the relevant INCIDENT when I click 'Create Request' From the incident.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 02:42 AM
It should and it will. It happens in OOB instance.
Unless your instance has some custom script/logic to populate or clear it this should not happen
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2023 02:44 AM
@Ankur Bawiskar its not getting populated in my instance, any suggestion for adjustment?