RE: Activate an agent by a backend agent Dietmar Hochstaedt 26.Sep.08 06:36 AM a Web browser Domino Designer -- Agents All ReleasesAll Platforms
@all: Thanks for all help
@Rob: Yes I'm sure. There are no UI classes in use
@Steve: the agent doesn't belong to a single user. It is a little bit like a "housekeeping tool". And, unfortunally, we do not use AdminP.
The functionality is divided in two parts. There is a central part in a "central" periodical backround agent, placed in one database. And there is a second part placed in "when mail arrives" agents in other databases (there is a criteria to find out, which mail-in-databases need the "when mail arrives" agent to be activated).
One of the tasks of the central agent is to check the activation of the other agents. And then, if there was one deactivated agent found, it should be activated by the "central" agent.
They must be activated by the server's ID, because the server is the only identity, which has the rights to run the "when mail arrives" agents in the special databases.
Believe me: this is a very long story ... :-)