Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Based on Customproperty value Enddate need to trigger disable account task

ARNAB86
Regular Contributor
Regular Contributor

Hi Team,

I have an requirement that for User attribute lets CP 10 we will update the value in CP10 as End Date (20-07-2024) as an example.

Now using user update rule if i want to disable the account if CP10 is updated and CP10 value matches the current date then the corresponding AD account will be disabled

How to put the query in condition checking (What is the query)

Thanks

Arnab Pal

6 REPLIES 6

naveenss
All-Star
All-Star

Hi @ARNAB86 use the condition like below. Use Advanced config under user update rules. 

naveenss_0-1720771257512.png

 

(##a.customproperty10 isupdated##) AND (a.customproperty10=curdate())

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

Raghu
All-Star
All-Star

@ARNAB86  Requirment for UI update or Import update ?

you need select proper type Trigger Actions when,as per screenshot and you can write below approch also it work,

Raghu_0-1720773488952.png

 


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

ARNAB86
Regular Contributor
Regular Contributor

This is UI update and also will it accept in this format and validate with currentdate

CP10 = 12-07-204

Thanks

Arnab Pal

@ARNAB86 Use DATE_FORMAT(curdate(), '%d-%m-%Y')

 

Regards,
Naveen Sakleshpur
If this reply answered your question, please click the Accept As Solution button to help future users who may have a similar problem.

@ARNAB86  you can try below @naveenss  provided date format if not work use below try

DATE_FORMAT(curdate(), '%m-%d-%Y')


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

rushikeshvartak
All-Star
All-Star

(##a.customproperty10 isupdated##) AND (a.customproperty10=DATE_FORMAT(curdate(), '%d-%m-%Y'))


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.