RunOnServer - Client vs Web

Hello,

I have two agents on two different servers. Agent A passes some information to Agent B. The scenario is that a user with no access or visibility to the server with Agent B on is able to click a button on the web (on server A) and Agent B produces the results and mails it back to them.

Now, I’ve read a bit about RunOnServer but can’t seem to solve my dilemma. If I run Agent A manually on one server from the designer, it will happily run and run Agent B. If I set this up to happen via a button on the web, Agent A isn’t allowed to run Agent B.

I’ve tried setting it to run as certain users, maxed out the security level, made sure they’re trusted servers but alas to no avail. Is there anything I might have missed?

I’ve read some posts that say this can’t be done but the latest follow up said it could…

Any help much appreciated!