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
4 replies
Subscribers
9 subscribers
Views
1705 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, I have created two Process Variables, one is PV1 which can store multip
munichandras
over 9 years ago
Hi,
I have created two Process Variables, one is PV1 which can store multiple values and other one PV2 for storing single value. When I map the PV1 values to PV2, it is showing with semi column as a delimiter.
Here is the example : PV1 = a, b, c, d, PV2 = a; b; c; d
Can you please let me know what is the behavior in the back end, is there any changes in delimiter in near future.
OriginalPostID-182172
OriginalPostID-182172
Discussion posts and replies are publicly visible
0
PhilB
A Score Level 1
over 9 years ago
I believe this depends on the type; I guess what you're using there is text single and text multiple, and mapping the multiple to the single will do an implicit tostring() to the array which results in the semicolons.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
moritzw
over 9 years ago
if you do an explicit joinarray() you can determine the delimiter yourself.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ammireddys
A Score Level 1
over 9 years ago
Adding to above inputs, you can find more information in "Process history" where your multiple PV1 values converted to tostring() array implicitly.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sudharanid
A Score Level 3
over 9 years ago
@munichandras, When the multiple type text variable or integer variable is assigned to a single type text variable then the array is stored as text separated with semicolon delimiter. Appian uses semicolon delimiter by default.
If the multiple type integer variable is stored in to a single type integer value then the first array value is stored in to the single type process variable.
If you want to replace the array separation with other than semicolon delimiter then you can use joinArray(array,delimiter) and you can retrieve the values in an array using split(text,delimiter).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel