and more in a single search tool across platforms. Read the announcement here. |
04/20/2023 01:14 AM
Hi All,
We are unable to update the connection to add or modify existing SQL queries in the Sav for Sav DB Connection after the recent upgrade. This connection was using Json_arrayagg & Json_object functions in the account import query to gather the data and update it into an account custom property.
Can you let us know if anyone faced the same issue and how it can be resolved?
Thanks & Regards,
Mohit
04/20/2023 08:58 PM
@Mohit_Sanka can you provide the JSON (after masking any customer specific information) and also confirm if you see any error in the logs when you try to update it.
Also confirm to which version Saviynt application was upgraded?
04/20/2023 10:45 PM
Hi Rishi,
This is a sample query of which we are using in the our connection. You can try similar one. This is not even working in Data analyzer or Analytics post 3.17 upgrade.
SELECT 'Ticketing' as sysname, 'Ticketing' as endpointname,'EntilementType' as attribute,'1' as status,CURDATE() as importdate,'Accounttype' as type,'ServiceNow' as accounttype,'Accountname' as accountcn, 'Accountname' as name,'Accountname' as appname, json_arrayagg(json_object('User',ars.ACCOUNTNAME)) as cp37 FROM ARSTASKS ars join users u ON (u.USERKEY=ars.userkey) join endpoints ep on ep.endpointkey = ars.endpoint WHERE ars.endpoint=endpointkey and ars.status=3 and ars.tasktype=2 and (datediff(curdate(),ars.updatedate) > 0 and datediff(curdate(),ars.updatedate) < 7)
This is the error we are seeing the logs