REMINDER: On December 1, 2018, this forum will be closed to new posts and responses. After that date, you will still be able to view and search the forum. New discussions should take place in the IBM Developer Answers forum.
Subject: agent "After new mail arrived" doesn't recognise the new email (db.UnprocessedDocuments.Count = 0)
Feedback Type: Problem
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Application Development
In an agent with "After new mail has arrived" doesn't recognize the new document.
Set db = session.CurrentDatabase
Set docParam = db.GetProfileDocument( "Parametres" )
Call agentLog.LogAction( "Start of the agent: " + CStr( Time ) + " on " + CStr( Date ) + "." )
agentLog.LogActions = True
'Get the new emails...
Set collection = db.UnprocessedDocuments
Set memo = collection.GetFirstDocument()
While Not ( memo Is Nothing )
'... never goes here
Call agentLog.LogAction( "Valid Pricing List Email: " + InDocParam.ValidPricingListEmail(0))
Call agentLog.LogAction( "End of agent: " + CStr( Time ) + " on " + CStr( Date ) + "." )
In my log I only have the Start and End of agent info.
I also tested "Before new mail arives" and I got the same issue.
Feedback number WEBBB2SQ88 created by Yoda m Decode on 07/18/2018