creating an incident from a case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2022 11:50 AM
I am creating an incident from a Case using the OOB UI action 'Create Incident', however the relationship on Case record is not getting created. i.e in the related records the 'incident' field is still blank.
On the incident record though the parent is correctly populated with the originating case number.
How can i check and update the Parent Case record to show the incident field with incident number created from case?
- Labels:
-
Customer Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2022 05:17 PM
Hi Nishant,
Use caseGr.addQuery('sys_id', current.parent); instead of caseGr.addQuery('incident', current.sys_id);
This should solve your problem.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-17-2022 04:34 AM
Hi
Ideally, it should get created as you have mentioned that on the Incident record, Originated from Case field is populated.
Please provide the screenshot of the Related List which is not showing the data.
Thanks and regards,
Kartik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2023 12:19 AM
Hello ,
Can you please attach the screenshot of the code to create multiple incidents from a case?