and more in a single search tool across platforms. Read the announcement here. |
01/11/2023 10:35 PM - edited 01/11/2023 10:48 PM
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
01/12/2023 04:24 AM
Use case when condition of sql
01/13/2023 12:12 AM - edited 01/13/2023 12:13 AM
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
01/13/2023 04:59 AM
Yes did it worked ?