With business rules Is it possible to delay the execution of the script by about 30 seconds?

SS64
Tera Contributor

With business rules Is it possible to delay the execution of the script by about 30 seconds?

20 REPLIES 20

Where do you register for the event of eventQueueScheduled?

Hi,

in left navigation type registry and select the module Under Events

1) then create new event for example your incident table if your BR will be on incident table

find_real_file.png

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

What should I register "previous_value_set_to"

Hi,

no need to register.

It's just an example of how to send parm1 to the event via eventQueueScheduled()

refer below links for help on that

https://developer.servicenow.com/dev.do#!/learn/learning-plans/orlando/new_to_servicenow/app_store_l...

The Power of System Events - Part 2 - gs.eventQueueScheduled

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Then 

it is OK ?""

gs.eventQuereScheduled(scheduled_delay,current)?