How to wait for a certain time in BR script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2018 09:05 AM
Dear,
In a business script I need to check the Status of conference call in table conference_call.
This status will be updated automaticaly by Notify.
As I am not receiving an event when status gets updated, I need to make a kind of pulling on the table and its status like as below :
var status= new glidercord("conference_call");
status.AddQuery("status","cancel");
status.query();
I need to execute this code above every 5 seconds, then if I reach 30second = 6 ready and did not get correct status then stop.
Any idea how to do that ?
regards
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2021 07:44 PM
Hi,
Did you get this solved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2022 01:29 PM
This can be achieved using a flow, add a flow logic tat will do until in until you will set the state of conference_call = ready (what ever is the state tat notify would set) then the flow will terminate, you can add an if block that will stop the flow if it executes for 6 times and you can add a wait within the flow as well for 5 secs.