07-31-2018 10:50 AM
This seems simple enough. When I replace a static value in the query with the notation @{ClaimNum} for an inputp parameter and use the same value (or any other value), no results. No errors, and I displayed debugging information in the query entry.
I've perused Community. I reviewed the RepDashboards1700 MRG. This looks to be proper. When Configuring the Data Provider I get no errors. I've confirmed the data type (string) in Config. But... no results.
select
i.itemnum DOCHANDLE, max(i.datestored) DATESTORED, max(F.FILETYPESTR) FILETYPE, count(P.ITEMPAGENUM) PAGES, sum(P.FILESIZE) FILESIZE
from
hsi.keyitem114 k
left join HSI.ITEMDATAPAGE p on K.ITEMNUM = P.ITEMNUM
left join HSI.FILETYPE f on P.FILETYPENUM = F.FILETYPENUM
left join HSI.itemdata i on K.ITEMNUM = i.itemnum
where
K.KEYVALUECHAR = '@{ClaimNum}'
group by I.ITEMNUM
And the original query which in the Data Provider returns data:
select
i.itemnum DOCHANDLE, max(i.datestored) DATESTORED, max(F.FILETYPESTR) FILETYPE, count(P.ITEMPAGENUM) PAGES, sum(P.FILESIZE) FILESIZE
from
hsi.keyitem114 k
left join HSI.ITEMDATAPAGE p on K.ITEMNUM = P.ITEMNUM
left join HSI.FILETYPE f on P.FILETYPENUM = F.FILETYPENUM
left join HSI.itemdata i on K.ITEMNUM = i.itemnum
where
K.KEYVALUECHAR = '8464530'
group by I.ITEMNUM
Can someone point out what I'm missing!? Thanks!
07-31-2018 10:59 AM
Hi, Amy. Thank you for using Hyland Community. Try removing the single quotes (') around the ClaimNum parameter in the query. Do you get the results you expect when you do that?
07-31-2018 01:15 PM
07-31-2018 01:44 PM
07-31-2018 03:09 PM
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.