Daniël Kuhlmann wrote:
Yes it is perfectly possible to do this with BPT if the SQL finishes within the max time out of bpt which is 5 minutes. If SQL take longer than 5 minute you need to use timers.
You can do a auto refresh of your screen using JavaScript interval to refresh the calculated totals on your screen. Alternatively you could use a notification system like pusher to have your screen updated when a total is calculated.
Also the web event extensibility component in the forge does also work I think on OS10
Thanks - thats good to hear. Yes we are talking seconds, not minutes, so it wont get near to the BPT max time out.
I will look into the two suggestions you have provided for notifying the screen.
Events are new to OS11 so I wouldnt have thought the component would work with OS10.
If you are just talking seconds, you could always create a screen action to perform the calculations and AJAX Refresh the appropriate components. Then, add JavaScript when your screen loads to immediately fire the AJAX call. It's not ideal to call AJAX the moment your screen loads, but for this use case it seems like the most straight forward way.