Web agent does not run

I am experiencing problems getting a simple agent to run from a browser.

I have a form with a single button on it which invokes a script agent with @Command([ToolsRunMacro]).

This agent updates one field on a control document in the database.

“Form processed” comes up but the agent has not run.

Trigger is ‘On event’

Agent list selection

Target=None

“Run as Web user” is ticked and runtime security level is 3 (Allow restricted operations…).

Anything I have omitted to check? This is driving me quietly mad :slight_smile:

All advice gratefully received…

Clifford

Subject: Web agent does not run

This should help:http://www-10.lotus.com/ldd/today.nsf/62f62847467a8f78052568a80055b380/ef1565a0b202808285256c94004fd0fb?OpenDocument&Highlight=0,kadashevich

Subject: RE: Web agent does not run

What does the Agent Log say?

Subject: RE: Web agent does not run

What does the Agent Log say?

I assume you mean the server debug log?

Nothing when run from the web page.

Subject: RE: Web agent does not run

Many thanks for that. I tried running the agent directly from the console using ‘tell amgr run…’ and found that security restrictions were preventing this happening.

I enabled the running of Lotusscript agents and now it runs fine from the console, but still no joy from the generated web page.

I have put agent logging script in the agent but it does not even enter the code. No messages come up on the server console, even though I have debug level on its highest setting…

Still looking for clues!

Clifford

Subject: Got a bit further, maybe…

If I run Agent/Test in the designer, I get the this text :

========================

The following will occur when this agent is run:

If this agent is run from the web browser on server ‘CN=R6Test/OU=London/O=XXX’ this agent will not run unless the user is logged in as ‘CN=Clifford Green/OU=IT/OU=London/O=XXX’. This user does not have the rights to create agents that ru

Started running agent ‘aaa’ on 12/11/2003 15:05:39

Testing: Ran LotusScript code

Done running agent ‘aaa’ on 12/11/2003 15:05:39

=====================

The truncated line appears exactly as shown. My name is in all of the “R6Test” server document agent security settings to allow running of restricted agents.

Subject: RE: Got a bit further, maybe…

Hi Clifford, did you ever find out a solution for this problem?