Dot walked field not showing value

Drishti
Tera Guru

Hi Community,

I have a requirement where I have to show " Business time left" field from Task SLA on our HR case form.

What I did is : Created a reference field which refers to TASK SLA table. From this field, I have dot walked to "Business time left".
The thing is in Task SLA this field " Business time left" have value but when dot walked on HR case form the field is empty.

 

Why " Business time left" field when dot-walked on HR case form is not showing any value  although it have value on Task SLA form?
Please guide.

13 REPLIES 13

I haven’t tried this, so I’m not fully sure if it will update automatically. But based on what I understand, it will fetch the value only when the script runs (like on form load), and won’t update on its own unless we trigger it again.

Hi @KrushnakumaT , that is correct. It will calculate and show the value on form load. It won't be updating the value in real time. We have to reload the form to again trigger the script.

Thanks and regards,
Ayush

@Drishti 

I believe the discussion is going in wrong direction and might mislead you.

As per my comment shared it should work fine, just that user has to reload the form to see the latest value for that dot walked field.

it won't get changed directly unless user refreshes the form.

Did you get a chance to check my comment

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

AyushKumarM
Mega Guru

Hi @Drishti , The "Business Time Left" field is a calculated value that's generated dynamically and isn't stored in the database, so if you try to access it through dot-walking or before the SLA record is fully loaded, it might appear blank. Additionally, if your reference field isn't correctly pointing to the active SLA that holds this value, it won't display anything on the form. What you can do instead is call a client-side Script Include using GlideAjax to fetch the calculated value of "Business Time Left" on the fly and display it in real time.