Run agent after a web page fully loaded

Hello,

I would like to run an agent from a web form.

I have a button which saves the form, a hidden “Please wait” message should appear and just then the agent should run.

My problem is that when I run the agent ( which includes 10 sec sleep) using @command([ToolsRunMacro];“RefreshInfo”) the web page will not display the content until the agent completes.

I am running the agent under WebQueryOpen only if the link contains Seq=1 which means that the page was refreshed and the “Please Wait” message already there

Is there a way to run an agent on PostOpen ?

Any ideas ?

Thank you, Itay.

Subject: Run agent after a web page fully loaded

You can trigger an agent using Javascript and AJAX.

Example: