Which Trigger would be correct?

i have an agent in a database (DB#1) that COPIES a document to another Database (DB#2)

When it ‘arrives’ I want to kick off an agent in DB#2 - I tried using the Trigger of "After document is pasted’ but it doesn’t run. (It does run, if I manually copy & paste a document into the database, so I guess that is the wrong trigger…)

Which trigger would work and when?

Subject: which Trigger would be correct?

Hm. I don’t know if any trigger would be correct. The one option says when new message is entered, or modified. Seems like you want one, but not the other.

I guess without diving too deep into when/what/how each of those triggers are used. Would you be able to have a scheduled agent check for any non processed documents with the use of a hidden field?

And run the agent in DB#2? Which would also update the flag as being processed? Have a view of ‘unprocesseddocs’. Go through it every 5-10 minutes, or longer if you can get away with it.

Subject: RE: which Trigger would be correct?

Well actually the one option says “Created or modified”… I would think that adding any document to a database is a creation… but who am I?

I did think of the scheduled agent… but hadn’t thought of the ‘unprocessed view’ - maybe I will try that. Seems silly that this would have to be a manual process. Thanks