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

if else condition in user account correlation rule

rohan32
New Contributor
New Contributor

Hi,

 

I want to implement conditioning in the user account correlation rule where -

If the account name is starting with 'a-' (ex :  a-rgupta@abc.com) ,

then use ( users.customproperty60 = accounts.customproperty27)

else  ( ( users.email = accounts.customproperty4)

 

Is there a way to use this conditioning in user correlation rule? If yes - can you please help with the syntax

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Use case when condition of sql


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

@rushikeshvartak 

 

Using the condition below , pls comment if you have any other suggestions  or the syntax looks fine - 

CASE WHEN (accounts.name like 'a-%')
THEN (accounts.customproperty27=CONCAT(users.customproperty60,'.dte'))
ELSE (users.email = accounts.customproperty4) END

Yes did it worked ?


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