Two agents with "After new mail has arrived" on a same mail database

Hi,

Will it be a problem if I have 2 different agents “After new mail has arrived” to screen incoming mail on two different criteria then kick in some actions? How do Domino handle that: execution order/priority?

Many thanks for your help.

Subject: Double post, please ignore

Subject: Two agents with “After new mail has arrived” on a same mail database

Hi,

Set the target from one Agent to none, and call it from the other agent that is still “After new mail has arrived”.

you can call the “Target none” Agent with the parameter DocID that you have a handle on the document…

regards

Bernhard

Subject: RE: Two agents with “After new mail has arrived” on a same mail database

Thanks everyone for the inputs. That helps.

Subject: RE: Two agents with “After new mail has arrived” on a same mail database

I finally switched code to run my agent on “Before new mail arrives”. It works fine now. The “After new mail has arrived” agent goes crazy at night when, my guess, the template refresh process runs. The agent ran, again, on those already processed mails. I did code the UpdateProcessedDoc but it still re-ran them at around 2:00 AM. I know there is some performance issue with the “Before” but that is the only way it works properly.

Thanks everyone for your kind help…

Subject: Two agents with “After new mail has arrived” on a same mail database

When I remember right the simple answer is “not supported”.

So, if and/or how these agents would be executed is undefined.