I need to create a new agent which runs ONLY when a new document is created.
I already have a scheduled agent which picks new document for processing. But it also runs every 30 mins which i don want.
I need to create a new agent which runs ONLY when a new document is created.
I already have a scheduled agent which picks new document for processing. But it also runs every 30 mins which i don want.
Subject: need to create a new agent
If you want something that is purely event-driven, then it won’t be an agent. (“Before new mail arrives” is an exception to the rule.) “After new mail arrives” and “When documents are created or modified” are actually scheduled agents with special searches. If you want form-driven code, then use a form event to drive the code.
Subject: RE: need to create a new agent
I got your point… but my situation is different. The form that i am using is not a form for users. Data is fetched from mq-series thru java agent and the fields in my form are populated.
Actually what i want is to convert characters ‘\n’ in the single value textfield to char(13).
Currently i used queryopen event to convert. but my appln creates thousand’s of documents everyday so opening each and every document is not practically possible.
Subject: RE: need to create a new agent
Then a scheduled agent is what you want, or you can call your cleanup agent from the update code. There is no event that will fire your cleanup agent beyond scheduled activation.
Subject: RE: need to create a new agent
Why not write a scheduled agent and use the target setting “All new and modified documents”? (Don’t forget to use notessession.updateprocesseddoc!)
Subject: RE: need to create a new agent
i think u can choose the option as more than once in a day and then u can schedule ur agent …