Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
2 replies
Subscribers
5 subscribers
Views
1415 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Receive Message Configuration
zrizvi
over 7 years ago
I have a Receive Message node that listens for emails to be received containing a key-value-paired destinationprocessinstanceID. The receive message moves that process instance to the next node after an email message is received containing the paired destinationprocessinstanceID. The problem I'm having is that there are multiple emails in the mailbox that have that same destinationprocessinstanceID. The process is kicking off multiple events every time it polls the inbox, but I only want the process to check for NEW emails received. Is there a way to configure the Receive Message node to ONLY check for a NEW incoming email, and ignore all other pre-existing emails that have already triggered an event?
Thanks in advance.
OriginalPostID-246505
Discussion posts and replies are publicly visible
0
aayusha
Certified Senior Developer
over 7 years ago
On the assumption that you are polling emails, I think you should change the configuration to POP3 instead of IMAP.
If you want to keep it IMAP, as soon you received the first message, keep a record in dB and ignore any further messages.
Other option could be to terminate the process after the first message.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
zrizvi
over 7 years ago
thank you aayusha. I have made some updates and resolved this issue. Thank you.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel