Record watchers in server scripts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-19-2024 10:14 PM
Hey folks,
Is there a way to use record watcher in server side scripts. I want to be able to monitor the records that get generated as a result of multiple async calls. Once all async calls are finished, I want to wait till all records have been generated and then do further processing on all these records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-22-2024 02:58 AM
Hi Har**bleep**,
Record watches within server side script do not exist, however, you may be able to achieve what you are looking for with a Scheduled Script Execution.
You will need to think about what is your "trigger", how will the script know that all the records are done? - You can then use that as the condition in your Scheduled Script and run the desired code.
If you are looking for more specific advice, feel free to share an example of your async calls.