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
7 replies
Subscribers
6 subscribers
Views
6416 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Appned single quotes('') to the cdt value
nikitar890
Certified Associate Developer
over 8 years ago
I have a process where I get data from data base, I want all the values in the database to be between single quotes(''). Eg:- cdt:{name:xyz,phone:12345}, I want it to be {name:'xyz',phone:'12345'}. Instead of mapping it filed by field, Is there a way that I pass the cdt and all the values in the CDT get inserted between '' ?
Thanks in Advance,
Nikita.
OriginalPostID-268937
Discussion posts and replies are publicly visible
Parents
0
PhilB
A Score Level 1
over 8 years ago
Not sure if this helps but I had something similar and adapted it. The attached expression returns an array of the values in a given CDT, with each value between single quotes. To be honest I'm with aloks176 on this one - not sure why the values need to be in quotes as that's not usually a requirement for XML. Anyway, maybe the attached will help.
e-268937.sail
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
PhilB
A Score Level 1
over 8 years ago
Not sure if this helps but I had something similar and adapted it. The attached expression returns an array of the values in a given CDT, with each value between single quotes. To be honest I'm with aloks176 on this one - not sure why the values need to be in quotes as that's not usually a requirement for XML. Anyway, maybe the attached will help.
e-268937.sail
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data