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
7 subscribers
Views
3874 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi, I’m looking for a solution to dynamically convert a dictionary to a lis
borisb
A Score Level 1
over 8 years ago
Hi,
I’m looking for a solution to dynamically convert a dictionary to a list of dictionary with the items in the dictionary.
So for instance I have the following dictionary:
{employerId:9, advisorNumber:"AAA", id:33}
And I want to create a list with all the items in that dictionary. So basically the result should be the following:
{{employerId:9}, {advisorNumber:"AAA"},{id:33}}
This should be done dynamically since the items in the dictionary are not fixed.
Does anyone know a good solution or already build something simulair?
Thanks in advance!
OriginalPostID-188910
OriginalPostID-188910
Discussion posts and replies are publicly visible
Parents
0
borisb
A Score Level 1
over 8 years ago
Thanks guys.
Eventually I got this working by converting the data dictionary to xml with the toxml function. Then I used a combination of xpath functions to get the field names and values.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
borisb
A Score Level 1
over 8 years ago
Thanks guys.
Eventually I got this working by converting the data dictionary to xml with the toxml function. Then I used a combination of xpath functions to get the field names and values.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data