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
4 replies
Subscribers
3 subscribers
Views
2016 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Reports
153186 - no subject - Hi Team,\n\nWe have a requirement where
madhankumarb
over 9 years ago
Hi Team,
We have a requirement where we to fetch data from report using IN operator in filter. Currently execute process report smart service doesn't allow IN operator in filter. What is option to get data from report using IN. Do we have any plugins for that?
Regards,
Madhankumar. B
OriginalPostID-153186
Discussion posts and replies are publicly visible
0
elizabeth.epstein
over 9 years ago
2 ideas:
1) Run the service multiple times, 1 for each item in your IN array. Then merge the results.
2) Instead of querying an actual Appian report, re-construct the query using queryrecord() on your original data set:
forum.appian.com/.../Scripting_Functions.html
That will allow you to use IN as a filter operator.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
aayusha
Certified Senior Developer
over 9 years ago
Try using queryportalreport function
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
ajinkyab277
Certified Lead Developer
over 9 years ago
We have achieve this using getPortalReportDataSubset' function which was available in Portal to sail plug-in, But I am not able to find this plug-in on forum any more.
But still if you want to use this function(which is not recommended as it is not available on forum) you can use the attached plug-in
Example:-
getPortalReportDataSubset(
reportId:cons!REPORT_ID,
pagingInfo: rule!mo_pagingInfo(1,300,null),
contextIds: {},
filters: {
{ field: "0", operator: "IN", value: ri!filterValue1},
{ field: "8", operator: "IN", value: &ri!filterValue2 }
}
)
Please refer below link for more info
getPortalReportDataSubset
forum.appian.com/.../e-150475
forum.appian.com/.../e-148825
Portal to SAIL_1.2.3.zip
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chandhinir
over 9 years ago
You can use a!queryProcessAnalytics() to get the Portal Report data in which you can use "IN" operator as filter.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel