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
3 replies
Subscribers
8 subscribers
Views
5391 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Cast multiple type into single
erick258
over 8 years ago
Hi, is there a method to obtain the type of a certain multiple variable? Say ri!a, which is a multiple text variable, I want ri!b to have the same type of ri!a but not multiple that is a text variable. I found out that it can be done by typename(typeof(ri!a)-1) for a CDT type, but the same doesn't work for appian primitive data type. Any suggestion? Thanks
OriginalPostID-246569
Discussion posts and replies are publicly visible
Parents
0
rodgraham
Certified Lead Developer
over 8 years ago
The solution @sikhivahans has suggested, is to use the type of the first element of the array so it won't matter what the difference in the number is between the single value and the array
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
rodgraham
Certified Lead Developer
over 8 years ago
The solution @sikhivahans has suggested, is to use the type of the first element of the array so it won't matter what the difference in the number is between the single value and the array
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data