FORUM PLAN UPDATE: Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.
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