Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Regarding Access query of prod5.5 sp5 is not working in EIC dev 24.3

KG
New Contributor III
New Contributor III

Hi Team,

 

Below access query is not working in new EIC dev 24.3 as it was working fine in Prod 5.5sp5 version

where users.customproperty39 != 'sponsor'  AND customproperty15 != 'callcentre'  and users.userkey=${requestee.id} and (${requestor.id} = ${requestee.id}  or ${requestor.id} = ${requestee.manager} or ${requestor.id} in (SELECT A.USERKEY FROM USER_SAVROLES A INNER JOIN SAVROLES B ON A.ROLEKEY=B.ROLEKEY WHERE B.ROLENAME IN ('ROLE_ADMIN','ROLE_L1','ROLE_L2','ROLE_xxxx.ARSxxxx')))

 

There is error calling out 

KG_0-1716210471261.png

 

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

Please check actual query printed in logs when you try to request for application from ARS


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Raghu
Honored Contributor
Honored Contributor

try @KG  below

where users.customproperty39 != 'sponsor' AND users.customproperty15 != 'callcentre' and users.userkey in (${requestee.id}) and (${requestor.id} = ${requestee.id} or ${requestor.id} = ${requestee.manager} or ${requestor.id} in (SELECT A.USERKEY FROM USER_SAVROLES A INNER JOIN SAVROLES B ON A.ROLEKEY=B.ROLEKEY WHERE B.ROLENAME IN ('ROLE_ADMIN','ROLE_L1','ROLE_L2','ROLE_xxxx.ARSxxxx')))

 


Thanks,
Raghu
If this reply answered your question, Please Accept As Solution and hit Kudos.

KG
New Contributor III
New Contributor III

where users.customproperty39 != 'sponsor' AND users.customproperty15 != 'callcentre' and users.userkey in ('${requestee.id}') and ('${requestor.id}' = '${requestee.id}' or '${requestor.id}' = '${requestee.manager}' or '${requestor.id}' in (SELECT A.USERKEY FROM USER_SAVROLES A INNER JOIN SAVROLES B ON A.ROLEKEY=B.ROLEKEY WHERE B.ROLENAME IN ('ROLE_ADMIN','ROLE_L1','ROLE_L2','ROLE_xxxx.ARSxxxx')))

 Note  - make sure to add the apostrophe for the requestor  will work 

 

KG
New Contributor III
New Contributor III

its not working .

KG_0-1716811255604.png