Link to home
Start Free TrialLog in
Avatar of karen021897
karen021897

asked on

how to see document that

how can i see if document has been processed by an agent

eg. copy all document into new view if they have been processed by an agent

thanks
Karen

karen@vis.is
Avatar of karen021897
karen021897

ASKER

you may send me the code, please
you may send me the code, please
you may send me the code, please
There are really only two options.  The first is to mark the document from within the agent by setting a field (e.g., ProcessedByAgent := "Yes").  The other is to use the UnprocessedDocuments property of NotesSession, along with the UpdateProcessedDoc method.  I suggest you read about them.
do you have any example
You'll probably have best results by adding a hidden field to your documents, and updating it in the agent's code -- something like "FIELD LastProcessedOn := @Date(Today)" as part of the agent.  Then you can do whatever you like with this information in the views.

jschwarz is correct, that you can access some built-in properties through LotusScript, but this is perhaps more useful during complex agent execution.

Remember, documents are never "copied into a view."  Every database data document is "in" every view all the time, if it meets the selection criteria...
i will be glad if you have the Lotus script example

Thanks
ASKER CERTIFIED SOLUTION
Avatar of jschwarz
jschwarz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks