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
5 replies
Subscribers
6 subscribers
Views
2412 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
My process is supposed to be started/trigger by receiving a JMS message from an
yangs
over 11 years ago
My process is supposed to be started/trigger by receiving a JMS message from an external queue. The process worked OK when I tried with the simple TextMessage. However, it didn't really work if I pass in an objectMessage. This is what I did:
1. I defined a CDT in Appian called Person, which has age, firstName and lastName as attributes. In my java test, with JMS API, I created an objectMessage with a Person object (an object of a Java Person class, with the same atrributes as Appian CDT).
2. In the startEvents, after receiving the "External to Process" message, I assigned msg!Body to a process varible (pPersonVar) ,which has the Person CDT type.
3. Then I created a form to display age, firstName and lastName (e.g. pv!pPersonVar.age). It didn't work. Nothing was displyed. The process was OK since I was able to pass a TextMessage thru and be displayed.
Please shed lights on how I should approach this. I checked all the documents that I can find an...
OriginalPostID-80777
OriginalPostID-80777
Discussion posts and replies are publicly visible
Parents
0
Siva
Certified Lead Developer
over 11 years ago
You can serialize your input and pass the serialized string to Appian. At Appian deserialize the received string using internalize() function and save into CDT variable. More about the function here is the link
forum.appian.com/.../Conversion_Functions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Siva
Certified Lead Developer
over 11 years ago
You can serialize your input and pass the serialized string to Appian. At Appian deserialize the received string using internalize() function and save into CDT variable. More about the function here is the link
forum.appian.com/.../Conversion_Functions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data