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
6 subscribers
Views
1583 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi All, I have written a rule which will return datasubset. Now this rule i
chanakyar
over 9 years ago
Hi All,
I have written a rule which will return datasubset. Now this rule is assigned to a process variable of type data subset . In Process instance we get the data part of this pv as [object object]. How can we solve this?
SampleRule.docx
OriginalPostID-185841
OriginalPostID-185841
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 9 years ago
@chanakyar Hi, I have gone through the attached code snippet. Using a CDT to hold data in the local!dataSet variable resolves the issue. You might be able to use the dictionary syntax (which is being currently implemented) for 'arrayToPage' in the SAIL interfaces or other expression rules, whereas with regards to process, to the best of my knowledge, the 'arrayToPage' should either hold primitive, custom or complex data types in order to see proper values for 'data' attribute in Datasubset. Please do let me know if you have follow-up questions and let's see what other practitioners opine about using dictionary syntax in todatasubset() and thereby using it in PV.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 9 years ago
@chanakyar Hi, I have gone through the attached code snippet. Using a CDT to hold data in the local!dataSet variable resolves the issue. You might be able to use the dictionary syntax (which is being currently implemented) for 'arrayToPage' in the SAIL interfaces or other expression rules, whereas with regards to process, to the best of my knowledge, the 'arrayToPage' should either hold primitive, custom or complex data types in order to see proper values for 'data' attribute in Datasubset. Please do let me know if you have follow-up questions and let's see what other practitioners opine about using dictionary syntax in todatasubset() and thereby using it in PV.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data