SLA with Dynamic start date/end date

PratyakshGulati
Tera Contributor

Hi Everyone,

I'm working on a ServiceNow catalog item where the user selects a Start Date in the form. This date can be today or any number of days in the future. I want the SLA to start exactly on the date entered by the user( in the start date field), not when the Requested Item (RITM) is created.

1 REPLY 1

SumanthDosapati
Mega Sage
Mega Sage

@PratyakshGulati 

This can be achieved in multiple ways. I would suggest the below way using Flow designer

  1. Add 'Get Catalog variables' action in your flow 
  2. Next add the 'Wait for duration' from your flow logic
  3. In that step, set the duration type to 'Relative duration'
  4. And give the condtion as '01 seconds' - 'After' - drag and drop the date field from your variable.

This is the simplest way to make your flow wait until a particular date in your variable.

Below are some other approaches :

You can use gs.eventQueueScheduled() to trigger an event at a specific time.

You can even run scheduled job/scheduled flow daily once to check if today's date in any of the requests and proceed.

 

Accept the solution and mark as helpful if it does.

Regards,

Sumanth