Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+1
person also asked this
people also asked this
Replies
7 replies
Answers
1 answer
Subscribers
8 subscribers
Views
4033 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
We need to start a process sending an email. This just works fine. The whol
JEAN PIERRE
over 10 years ago
We need to start a process sending an email. This just works fine.
The whole email information gets stored into process variables with the exception of the email body.
We need help!
Please see attached Word file.
...
Cannot get Email body.docx
OriginalPostID-119506
OriginalPostID-119506
Discussion posts and replies are publicly visible
0
JEAN PIERRE
over 10 years ago
I forgot to post the errors:
Error1:
Problem: An error has occurred in evaluation of an expression for a Start Event.
Details: ERROR:EVAL:@reason=Invalid index: Cannot index into Deferred
Recommended Action: Examine and correct the expressions on the Start Event's Event Properties
Error2:
Problem: This notification is sent for canceled event messages of type Email.
Details: Canceled consumed message in Message Expression Out (ERROR:EVAL:@reason=Invalid index: Cannot index into Deferred) for message sent to persistent id 0000d9ad-b952-8000-927a-010000010000 on named port 'Recibir Email'.
Recommended Action: Check the message listener for correctness. Cleanse the source of the message, if the message itself has caused the failure. For email events, place a spam filter in front of the event listener.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
JEAN PIERRE
over 10 years ago
According to the documentation:
forum.appian.com/.../Start_Event_-_Receive_Message.html
You have Access to all the properties of the Email.
We manage to map all the properties to process variables with the exception of:
'msg!properties'.'BodyContentType'.
We could not find out its type in order to map it correctly to a process variable.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Have you tried selecting it from the expression editor as shown in this attachment? The error doesn't seem to mention the Body property at all, it seems that is being caused by something else.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
JEAN PIERRE
over 10 years ago
What is the type of msg!body? Text?
What are the other properties related to the body of the Email Object (BodyContentType, Bodies) ?
I need the types to map these properties to Process variables and test again.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
JEAN PIERRE
over 10 years ago
What is the Type of BodyType?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
+1
JEAN PIERRE
over 10 years ago
There was a mess between the mappings of the Start Event (Receive Message) and the process variables declared as parameters...Sorry, this was a silly error of mine. The problem is resolved! Thank you Eduardo.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Glad is working fine now!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel