05/04/2023 09:46 AM
I'm trying to create an analytic that will create update account tasks, but I need to be able to control the number of rows returned. I've tried the following, which works in the analyzer, but fails when creating the actual analytic with the error "Resultset Must Have column acctKey for allowed actions Update Account", which it obviously has. Now when I remove the "Limit 0, 100", I am able to save the analytic, but I lose the whole functionality I was intending.
Select
ACCOUNTKEY AS acctKey,
NAME,
DESCRIPTION
from
ACCOUNTS
Where
ENDPOINTKEY IN (4,5,6)
AND DESCRIPTION NOT LIKE '%SSM%'
AND STATUS = 1
ORDER BY NAME
Limit 0, 100
05/04/2023 09:53 AM
try online with limit
05/04/2023 11:09 AM
Hi @tmschiller ,
Greetings.
I'm able to create analytics with same query but on 23.4 version. Can you please share the version you're trying it in.
Thanks,
05/04/2023 11:14 AM
05/04/2023 01:22 PM
This works in Saviynt 5.5 version also. You can give below also a try
Select
ACCOUNTKEY AS acctKey,
NAME,
DESCRIPTION
from
ACCOUNTS
Where
ENDPOINTKEY IN (4,5,6)
AND DESCRIPTION NOT LIKE '%SSM%'
AND STATUS = 1
ORDER BY NAME
Limit 100
Thanks
05/04/2023 01:25 PM
Nope, same error
05/04/2023 01:34 PM
Do you have this config?
Thanks
05/05/2023 04:59 AM
Of course I do, not that it would impact saving/running the analytic if it wasn't there since "acctKey" would just be a column alias.
05/05/2023 06:13 AM
Ok, the same config works in my environment which is also on 5.5. Its better to open a Saviynt FD ticket and get this fixed.
Thanks
05/05/2023 09:52 AM
@tmschiller , I have tried in 5.5sp3.x version as well and I'm able to create the analytics using the same query as yours. Kindly raise a FD ticket with all the details so one of our support engineers can take a look at it.
Thanks,