Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+1
person also asked this
people also asked this
Replies
13 replies
Answers
1 answer
Subscribers
7 subscribers
Views
10911 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
get List of Item from CDT
joanneh
over 7 years ago
Hello!
please may I know if there is anyway to get the list of items in a CDT?
For example, if there are 3 items namely the "id", "customerId" and "contacts" within the CDT, how could I get a list of Text containing the name of the items above (i.e. something like an array:{"id","customerId", "contacts"})?
Shall I do a queryrule or something?
Thanks for your time
OriginalPostID-238884
Discussion posts and replies are publicly visible
Parents
0
joanneh
over 7 years ago
Your ideas are brilliant! I use @chetany's way at first but never realise @stefanh791's way works too!
By the way, may I have a follow up question on @stefanh791's solution?
In the line <type!YOU_DATA_TYPE())>, the scipt in my application looks like the following:
'type!{
abc.def-ghij.com}MY_DATA_TYPE'()
Is there any way that I could making the item MY_DATA_TYPE variable like? so I could replace it with different input?
I have thought of using something like:
concat("'type!{
http://abc.def-ghij.com}"
& ri!dataType & "'()")
But it doesn't work....
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
joanneh
over 7 years ago
Your ideas are brilliant! I use @chetany's way at first but never realise @stefanh791's way works too!
By the way, may I have a follow up question on @stefanh791's solution?
In the line <type!YOU_DATA_TYPE())>, the scipt in my application looks like the following:
'type!{
abc.def-ghij.com}MY_DATA_TYPE'()
Is there any way that I could making the item MY_DATA_TYPE variable like? so I could replace it with different input?
I have thought of using something like:
concat("'type!{
http://abc.def-ghij.com}"
& ri!dataType & "'()")
But it doesn't work....
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data