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
4225 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi! I need to get a subset of elements from an array. I'm using rdrop f
marcop519
over 12 years ago
Hi!
I need to get a subset of elements from an array. I'm using rdrop function that return the subset. The elements returned are separated by comma and not by semicolon. So, when I pass this subset to a doforeach function the process generates this error: There is a problem with task “Script Task” in the process. The expression function 'doforeach("rule",{2484.0,2440.93,2352.93})' (user=SuperUser, exprId=536870915) could not be evaluated: java.lang.ArrayStoreException (Data Outputs)
Thanks...
OriginalPostID-37423
OriginalPostID-37423
Discussion posts and replies are publicly visible
Parents
0
Sathya Srinivasan
Appian Employee
over 12 years ago
The data type is not affected by the delminter. For e.g. When you define an array in a constant, you separate them with a semi-colon but in the process variable, you see them comma separated. As long as you are not converting the array to a string (for e.g. using joinarray etc) the doforeach should work.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Sathya Srinivasan
Appian Employee
over 12 years ago
The data type is not affected by the delminter. For e.g. When you define an array in a constant, you separate them with a semi-colon but in the process variable, you see them comma separated. As long as you are not converting the array to a string (for e.g. using joinarray etc) the doforeach should work.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data