What populates/updates the SLA Due field in the Task form?

Maciej Domagals
Tera Expert

My client has requested a custom field that behaves like the OOTB sla_due field in the Incident form. 
The OOTB field updates ONLY when the old SLA Engine is enabled, and the customer wants it to be disabled.
So I tried using the field watcher, but nothing came out.

Is there a Workflow/BR something else that updates the field, which does not appear in the watcher? Because I wanted to copy this functionality over to a new field.

(the picture shows what happens after enabling the legacy engine temporarily)

MaciejDomagals_0-1703170913631.png

 

6 REPLIES 6

jMarshal
Mega Sage
Mega Sage

Is this in a SCTASK that you're working or base task table?

In an SCTASK, the workflow properties (legacy workflow) have a value called "expected delivery time" which I believe just adds to the "created date" to get the "due date" (see screenshot below)

jMarshal_0-1703171781782.png

 



How to determine the delivery time for Service Catalog Requested Items - Support and Troubleshooting...

it's an incident table, so base task.

Gotcha.

 

Well, the traditional SLA Engine is using legacy workflows, for which this property is still likely driving the population of that field...my guess is that you'll need to find the flow (modern-style flow) which underpins the new sla engine and add a step to update the custom field. You'll also need to add an AC for this or adjust the OOB one as I believe that field is locked down to accounts with the "maint" role. We are not yet using that SLA engine so I can't say for sure this is how you want to do this, but seems logical to me based on how the legacy workflows work and how ServiceNow has been transitioning to modern flows.

Hope this helps a bit!

tried looking through workflows and no luck as of now