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

@Drishti 

Thank you for marking my response as helpful.

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

KrushnakumaT
Tera Guru

Hi  ,

This issue typically happens due to the following reasons:

1.Dot-walking from Task SLA is unreliable in this context
An HR Case (task) can have multiple SLA records. Dot-walking only retrieves the value from the referenced record. If your reference is not pointing to the correct active SLA, the field will appear blank.

2."Business Time Left" is a calculated field
It is not stored in the database but is computed on the fly. If you're trying to fetch it via dot-walk or before the SLA record is fully loaded, it may return blank.

3. Your reference field may not be pointing to the correct SLA
If the SLA you’re referencing is not the one where "Business Time Left" has a value, it won’t show anything on the form.

Recommended Solution: Use GlideAjax to fetch and display the value

If you want to display the active SLA’s business time left on the HR Case form, use a client-callable Script Include with a GlideAjax call. This ensures real-time and accurate data display.


If this solution worked for you, kindly accept it as the correct āœ…answer so it can assist others facing the same issue.

Hello @KrushnakumaT ,
Thanks for replying.
This "Business Time Left" will keep on changing as per the SLA engine defined.
So, if you are saying to use a client-callable Script Include with a GlideAjax call , will it keep on update ?

Hi @Drishti , the client script will act as a trigger for calculating the time left. It will work.
Thanks and regards.

Hey @AyushKumarM ,

We have lots of record and nothing to pass in the parameter from client side to server side so that system will understand which record to update.

This can impact system performance.