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
11 replies
Subscribers
5 subscribers
Views
2844 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi all, We are using "getdatasubsetdownloadlinkfromrule" to downl
phanibabuk
over 8 years ago
Hi all,
We are using "getdatasubsetdownloadlinkfromrule" to download data into excel which works fine.
I'm using a multipledropdown in the UI to select multiple values and pass it to a rule to fetch the data which works fine.
However, the same result from the above rule is not getting downloaded to an excel when I select multiple values.I'm using queryentity to fetch data.
On the UI level, everything works as expected. It returns the data as expected even when I select multiple values.
Even the plugin downloads the data as expected except when I pass/select multiple values. I'm using [IN] operator to fetch data within my query entity.
It doesn't shoot any error in the app server logs. It simply opens a new excel sheet with empty data.
This only happens when I select multiple values in multipledropdowns.
Any inputs please!!!
OriginalPostID-187734
OriginalPostID-187734
Discussion posts and replies are publicly visible
0
sikhivahans
over 8 years ago
@phanibabuk May I please know the length of 'input' parameter? A common problem I have seen with the implementation of getdatasubsetdownloadlinkfromrule is, the length of 'input' parameter - if it is too large, the plugin fails.
Also may I please know if you are sure that the rule being used in 'getdatasubsetdownloadlinkfromrule' is able to parse the 'input' properly in case of multiple inputs generated using 'IN' operator? For suppose, let's say selecting too many values is causing a problem with 'input' parameter, so just select very few (say 2 values) values and see how it works.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
phanibabuk
over 8 years ago
Hi,
I tried all possible ways.
But, my queryentity is returned results as expected.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
Would you please be able to find the length of the 'input' parameter? This might be useful just in case.
Also are you sure that logs isn't recording any facts with respect to this implementation?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
phanibabuk
over 8 years ago
It is not shooting any error but returning an empty excel.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
phanibabuk
over 8 years ago
Has anyone faced a similar issue before.
Please let me know.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chandhinir
over 8 years ago
Do you have multiple filters in the query entity rule? If yes, have you used a!tojson and a!fromjason function in the downloaddatasubset rule?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
phanibabuk
over 8 years ago
Yes
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
chandhinir
over 8 years ago
Can you attach your code?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
phanibabuk
over 8 years ago
The UI returns the values as expected.
But not sure how the plugin is interpreting when multiple values are selected?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
narasimhaadityac
A Score Level 2
over 8 years ago
Hi Phani, Can you please verify if the rule input has been given with the Array option selected to accept multiple values?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>