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
6 replies
Subscribers
6 subscribers
Views
3921 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi When we save multiple values in a process variable, it saves in fo
aayusha
Certified Senior Developer
over 11 years ago
Hi
When we save multiple values in a process variable, it saves in form of an array with ; as the delimiter.
But when this same variable is sent to some other process via send message event, it sends every character in form of array which is now saved in new process variable.
I want to utilize the same array of previous process model.
How to convert this new array of character into a array of words?
I hope my question is clear.
Any pointer will be helpful.
Thanks...
OriginalPostID-72778
OriginalPostID-72778
Discussion posts and replies are publicly visible
Top Replies
darbyk
over 11 years ago
+1
Certified Lead Developer
Hey aayusha, can you make sure that in the 'data' tab of the send message event, you checked the multiple checkbox next to your pv!city variable? Also, can you make sure that in the process where the receive…
0
michael.lee
Appian Employee
over 11 years ago
Can you link to screenshots clarifying the behavior you are seeing? How are you configuring the send message event?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aayusha
Certified Senior Developer
over 11 years ago
Hi Michael
For an example the values saving in the process variable "city" are "London" and "Newyork".
Now pv!city will give result : "London; Newyork"
And pv!city[1] will give result: "London"
And pv!city[2] will give result: "Newyork"
Now when I pass this pv!city in send message and saving it "dcity" process variable
then,
pv!dcity gives: "London; Newyork"
pv!dcity[1] gives: "L"
pv!dcity[2] gives: "o"
pv!dcity[3] gives: "n"
and it follows.
As far as configuration is
"city" (type: Text) = "pv!city"
in send message.
and
"msg!properties.city" is stored as "dcity"
in recieve message.
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aayusha
Certified Senior Developer
over 11 years ago
Though I got a way using joinArray() and then using extract() and saving them into new process variable. But Is there any other way to do it?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
revat.anandsongkit
Appian Employee
over 11 years ago
Try using the split() function -
forum.appian.com/.../Text_Functions
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
darbyk
Certified Lead Developer
over 11 years ago
Hey aayusha, can you make sure that in the 'data' tab of the send message event, you checked the multiple checkbox next to your pv!city variable? Also, can you make sure that in the process where the receive message node lies, the target process variable is also marked as a multiple?
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aayusha
Certified Senior Developer
over 11 years ago
Thanks for help.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel