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
5 replies
Subscribers
8 subscribers
Views
1802 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi, I am trying to use the web service function in a rule to deliver several ele
james.franklin
over 9 years ago
Hi, I am trying to use the web service function in a rule to deliver several elements of data. The function itself is working just fine but I can't seem to find a way to output just two elements from the result. I can isolate a single variable or the result as a string. Should I be looking at refining the result on the rule output or can I set the rule to populate two variables as the output? Perhaps I have mixed up sail and regular rule concepts. Hopefully someone can set me straight.
Thanks, James
OriginalPostID-178344
OriginalPostID-178344
Discussion posts and replies are publicly visible
Parents
0
PhilB
A Score Level 1
over 9 years ago
You might be interested to know that, given a structure local!data: {key: 1, value: "one"}, you can get the data using dot notation - local!data.key - or use the index function - index(local!data, "key", null) - rather than using the json function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
PhilB
A Score Level 1
over 9 years ago
You might be interested to know that, given a structure local!data: {key: 1, value: "one"}, you can get the data using dot notation - local!data.key - or use the index function - index(local!data, "key", null) - rather than using the json function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data