Business duration and duration fields are not populating in incident task table

PraveenGoud1
Giga Contributor

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 :

find_real_file.png

18 REPLIES 18

Below is the screenshot of the output:

 

find_real_file.png

Hi,

So is that output correct?

Did you check any other BR is clearing the duration?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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.

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

ok. But this is not happening in case of incident task business duration and duration field.