Is this do-able: trigger an agent of database A server S1 from database B server S2?

I have an agent (All New & modified documents)on a mail-type database A of server SA, that collects data of certain type of documents then updates documents of a different database B of server SB. I like to create an action button from database B (server SB) that execute/trigger agent of database A (server SA), instead of having to click action button on database A then go back to see those changes on database B. Is that possible?

Please help! Many thanks in advance, gurus of this forum.

Subject: Is this do-able: trigger an agent of database A server S1 from database B server S2?

Did not try, but …On the web?

@URLOpen( “http://server/database/agent?OpenAgent”)

In lotus?

With some lotusscript or java you can. I suppose the servers have to trust each other (contact your admin).

set db = ns.getdb(servernaam, database)

set agent = db.getagent(agentname)

if agent.run =0 then

'success

end if

Subject: RE: Is this do-able: trigger an agent of database A server S1 from database B server S2?

Thanks Walter. I will try with LotusScript. Will post a result here soon.

Subject: RE: Is this do-able: trigger an agent of database A server S1 from database B server S2?

Hi WalterPlease ignore my previous note about error. I just misspelled the mail file. It works now.

Thank you and thank you, Walter.