I have a web page (form) that has a link which opens up a popup dialog (using window.open). This dialog is a Notes form and it has a WebQuerySave agent. Sometimes when I save this form, the agent runs, sometimes it doesn’t. I’ve gone through the Troubleshooting Agents FAQ and nothing in there seemed to resolve the issue.
To save the form, I have a HTML button which runs a Javascript function. One of the entries in the function is “document.forms[0].submit()”. The other items in the function work, so I know that the function is being called and processed properly. And sometimes the agent does run, but more than half the time it doesn’t.
The agent is a Java agent (I’ve rewritten in LotusScript but it still doesn’t run consistently). The agent properties are:
“Agent list selection”
“Target: None”
“Shared”
“1 - Do not allow restricted operations”
“All readers and above”
And my ID (which the agent is signed by) has the proper rights in the server document to be able to run agents on the server.
I am logged in and my username has Manager rights. There are no restricted operations in this agent. This agent basically just saves the information from the opened form into another Notes document (or creates one if necessary).
I do have a SaveOptions field on the form which is = “0”.
When the agent does run, it runs without any problems.
Any thoughts?
TIA - Chris