Agent running by webuser

I need to run an agent that before saving the document must update some ather document connected with the wich one open.but strangerly if i put @command([toolsRunMAcro];“AgentName”) in web quesry save or in the hotspot it semms not working, the agent runned manually from client run correctly, it’s like the command can’t find the agent.There is something news in rel 6.0 using this method?

Thank Pietro.

Subject: agent running by webuser

  1. Make sure that the Agent is not hide for web.2. Open the Agent i the Designer. Take a lo a the poperties. At the Security you find an entry Run as Webuser. The Agent will run with the Name of the User who had login.

or

Run on behalf of, insert the Usename. The User must be added in the Serverdoc security.

  1. Take a look at Public Access

Subject: RE: agent running by webuser

“Run On Behalf of” and “run as web user” are mutually exclusive. For more information, please refer to “Decoding R6 agents” in the Agent FAQ (direct link in FAQ#0), it goes goer the new security options (i.e. “Run on Behalf of”).

Good luck!

Subject: agent running by webuser

Check if you are getting errors on the server console, this should help figure out why things are failing.

All new agent features are noted in “Decoding R6 agents”. Also, you might find useful to take a look at “Troubleshooting agents in R6”, where I noted 3 things to watch out for that I have seen during early deployment. They are in the section called “My agent does not run”.

You will find both article in LDD archives or direct link in the Agent FAQ #0 (under Forum FAQs on the left).

Subject: RE: agent running by webuser

it. was just like a stupid thing…in the select key in rel 6 there is NONE (there wasn’t in rel 5) and in the help is clearly declared that you have to select this option to run an agent from web …Thank you any way to everybody

Pietro