I was wondering if the following workflow is possible in AIMMS WebUI.
- User runs a procedure - this could include a web::request_invoke_async() or Execute(), for example
- User can continue other work
- Status bar procedure polls for an update and displays status
Currently, I could setup a manual polling procedure that the user can click and run to check the status.
I imagine one can setup a separate app that gets an ID and details of user request and polls for the status and runs an AIMMS procedure using AIMMS PRO API to update the status bar. (Is it even possible to run a procedure in an active AIMMS session/job through the PRO API?) It is a little too convoluted to setup simple use cases.
Best answer by gdiepen
Do you mean you want to periodically scheduling the running of a procedure?
If so, you could try to use the ScheduleAt function. An example using this function can be found at https://how-to.aimms.com/Articles/404/404-clock.html