Local agent trying to run on all users local mail

I have a script agent that finds a text file on the users hard drive, and attaches that file to an email and mails it to a designated internal recipient, using the local users mail file to send it.

I need to distribute this agent to all users Notes Clients, preferably through the mail template, so that it will replicate to their local mail file, as this agent needs to run locally.

We can set the users Client properties to run local agents,and put the agent in the mail template to distribute. The problem I am having is the agent only runs when I add it to my local mail file, (refreshing from the template, etc) When I refresh another users mail file to add the agent and they replicate their local, the agent gets to their local, but never runs.

I have it set to run locally, I have the preferences set to run local agents and I have made sure the targeted text file is on their hard drive where it should be.

Could this be an access issue? I have manager access to the mail files I am trying to test this on. Do I need to sign this agent differently? I have tried signing it with the server’s id… but still only works for me.

Any suggestions on how to get this to run on all users local mail files, would be really appreciated.

Thank you in advance!

Subject: Local agent trying to run on all users local mail.

I’m not 100% sure if this is true or not but I believe the agent needs to be signed by the user who is looged into the client in order for it to run locally. you could probably do some scripting to make this happen behind the scene without the user knowing about it. Or you can send them a button to disable then re-enable the agent thus signing it with their ID.

@Command([AgentEnableDisable])

HTH