Hi All, I’m using Notes R6.5.4. In my application, I’ve called an agent using Lotus Script. But the agent won’t run. But when i called the agent using @Formula it displays the result properly. But Running agent from lotus script is exist from Notes 4.6 version and above. I’ve still facing this problem. My code is as follows. Anybody… please give me ur suggestions.
Using Formula language
@Command([ToolsRunMacro]; “Testing”)
Using Lotus Script
Dim agent As NotesAgent
Set agent = db.GetAgent(“Testing”)
Call agent.RunOnServer
I’ve used agent.Run also. But it is not working.
And also tried by passing the document’s NoteID as parameters. But it is not working.
This agent.Run and agent.RunOnServer returns “0”, which results “Success”. But… The control has not been transferred to the agent. Please leave your suggestions.
Subject: RE: Help Needed. Agent is not running from LS
Ya. Its a good question. I’ve created that agent. I’ve the manager access in ACL with Admin role enabled. I’ve tested this on Local and also in Server now. When i tested this in Local, nothing is done. But in server, there is an error Message “Notes Error: Error validating user’s agent execution access”. But in server also I’m having the manager access and Admin role enabled in ACL. Also enforced a consistent ACL in all replicas at ACL’s Advance tab.
That agent is a shared one and triggered on Event at "Agent List Selection" and the Target is "All documents in Database". In the agent's security tab, Run time security level is set as "1".
And.. Your opinion pls...