how to keep waiting the business rule for some time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2015 12:21 AM
Hi,
i have an update business rule which has to trigger after 3 minutes of ticket creation. how can i achieve this ?
Regards,
Hima Pallela.
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2015 06:41 AM
Hi Hima,
How about creating a new Schedule Item in the business rule and set it to run in 3 minutes from "now" (from the moment of creation of the Schedule Item)?
I'm not sure what's the use case you're trying to implement but it looks to me that gs.sleep pauses the script from executing which means all the business rules that should be executed after the business rule using gs.sleep would be paused as well.
Kind regards,
Tomas
-------------------------------------------------------
Tomas Marek
solid-serVision.com GmbH