- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 06:22 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 06:47 PM
Hi
you can take the ootb column "child_incidents" on table "incident" as a blueprint.
And the following Business Rule is calculating the number of child incidents for a parent incident:
https://<YOUR INSTANCE>.service-now.com/nav_to.do?uri=sys_script.do?sys_id=78e8bbe70a00070479138c7302ad631b
You can copy and modify that Business Rule with low efforts.
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 06:27 PM
Hi
there is no special code for that. The number just represents the amount of related records, which can be calculated with easy means.
Please explain how and where you need that number and then we can check how to solve this.
Kind regards
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 06:33 PM
I want to specifically get the number of child cases for a parent case and store it in a column to display it on a report.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 06:47 PM
Hi
you can take the ootb column "child_incidents" on table "incident" as a blueprint.
And the following Business Rule is calculating the number of child incidents for a parent incident:
https://<YOUR INSTANCE>.service-now.com/nav_to.do?uri=sys_script.do?sys_id=78e8bbe70a00070479138c7302ad631b
You can copy and modify that Business Rule with low efforts.
Kind regards
Maik