What populates/updates the SLA Due field in the Task form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 07:02 AM
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 07:16 AM
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 07:24 AM
it's an incident table, so base task.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 07:47 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 07:49 AM
tried looking through workflows and no luck as of now