Business duration and duration fields are not populating in incident task table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2022 09:31 PM
Hi,
I am trying to populate the business duration and duration field on incident task by cloning the OOTB BR mark_closed on incident table.
How ever the code seems not working.
Any inputs on how to achieve this.
Below is the code :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2022 10:15 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2022 10:20 PM
Hi,
So is that output correct?
Did you check any other BR is clearing the duration?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2022 10:25 PM
No.
When I used tried adding log on the incident BR the output is logged as 1970-10-19 08:00:00.
But whereas the BR which we have configured is returning the different format.
I tried this on my PDI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2022 10:39 PM
duration field gives value from 1970-01-01 00:00:00
that should be fine.
if that is giving the correct value then it should set
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2022 10:45 PM
ok. But this is not happening in case of incident task business duration and duration field.