How do I run/call a scheduled agent from an agent? The agent that calls the other agent must be in LotusScript.
To run another agent from LotusScript, use a LotusScript agent similar to the following:
Set session = new NotesSession Set db = session.CurrentDatabase Set agent = db.GetAgent ("Agent_Name_Here") Call agent.Run OR Call agent.RunOnServer
Do you have comments on this Ask the Expert question and response? Let us know.
Related Q&A from Brad Balassaitis
Upon moving to Lotus Notes 8, some Lotus Notes users received an error message stating: 'Database has not been opened yet.' Find out why here.continue reading
Discover what security settings you need to fix if you encounter the Lotus Notes database error: 'database is not opened yet.'continue reading
Learn the Formula language code that you can use if you'd like your Lotus Notes form with embedded views to stop displaying all response documents.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.