Map field from SLA task table to HR case

Drishti
Tera Guru

Hello Community,
Among many fields available on SLA task , we have to show two field "Business time left" and "Breach Time" on HR Case list view.

I have created BR on update of the records which will update case whenever that respective SLA task gets updated.
But, at the time of creation of HR case , these two fields are empty in the list view.
How actually can I populate these two values also the same case is created and SLA gets attache to this case.

PLease guide.

Thanks

2 REPLIES 2

SP22
Giga Sage
Giga Sage

Hello @Drishti,

BR should run on After Update and After Insert. Could you please try this and let me know if it useful.

If this helped to answer your query, please mark it helpful & accept the solution.

Thanks
Santosh.p

Ankur Bawiskar
Tera Patron
Tera Patron

@Drishti 

you can use after update BR on task_sla and then query HR Case table and update the 2 custom fields on HR Case with the value from task sla fields

Now during creation those 2 fields will be empty, that's expected because just during creation those task sla fields won't have values in it.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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