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
9 replies
Subscribers
5 subscribers
Views
2863 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Integrations
#Inbound Email Hi Everyone, i have a business case where i need to fet
Ram
Certified Lead Developer
over 9 years ago
#Inbound Email
Hi Everyone,
i have a business case where i need to fetch data from email to process variables of a process model. I followed every step in configuring the required settings to receive data from email, I'll metion the steps below incase i miss any step please let me know it will be quite helpful.
1) Created a process model and configured the start event to receive message event and listen for messages of type is set to email.
2) Eabled public events in process model properties
3) Anonymous user is set to true in custom.properties
4) And i configured ejb-jar.xml by setting mail server, i used imaps for store protocol and set starttls to true and provided the user name.
5) Configured password.properties wit required password.
By configuring all these settings my process model is not getting triggered using email. any sugeestions or ideas are helpful to me.
thanks in advance....
OriginalPostID-119228
OriginalPostID-119228
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 9 years ago
1. Did you enabled DEBUG mode in your ejb-jar.xml to make sure Appian is indeed able to poll your account?
2. Did you restart both the engines and the application server when you enabled anonymous access?
3. If you're using the runtime_ear directory then the anonymous access has to be enabled in runtime_ear\\suite.ear\\conf\\custom.properties
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Ram
Certified Lead Developer
over 9 years ago
how can i enable DEBUG mode in ejb-jar.xml.
And i restarted both engines every time i configure the three files.
And iam using the ear directory in APPIAN_HOME
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
You add an activation-property:
<activation-config-property>
<activation-config-property-name>debug</activation-config-property-name>
<activation-config-property-value>true</activation-config-property-value>
</activation-config-property>
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Ram
Certified Lead Developer
over 9 years ago
I have one more doubt, i want to know if my model is getting triggered or not by the email.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Well, if it's not in the All Processes report then it's not being triggered, but for it to be triggered you first need to make sure Appian is indeed connecting to the mailbox and polling the email, you do that by adding the tags above and restart the app server.
That's the first step to verify
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Ram
Certified Lead Developer
over 9 years ago
i followed each and every step you mentioned but my process model is unable to triggered by email. i tried send message smart service wit those settings its working fine.
Do i need to follow any additional steps or check for any missing settings.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
The settings were not to fix anything they were for you to get additional information in the server.log. You need to review that log and confirm whether the email is being polled by Appian first. That's the first thing to investigate even before expecting it to trigger your process.
Once you see that the server.log is polling the email then you troubleshoot your email itself to see how you are building it to make sure it is targeted to your model (i.e. through the use of the [Destination****=] key-value pair.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Ram
Certified Lead Developer
over 9 years ago
Hi Eduardo i have seen the logs but iam unable to understand if u can verify the logs it will be helpful to me.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
I can certainly look at them once you have a chance to upload them to this post.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel