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

user manager certification managers last date is todaty

lakshman
New Contributor
New Contributor

Hi team,

The scenario involves the user manager's certification managers, with the final date being today. The objective is to assign a different manager based on the condition that the end date equals the current date. I have attempted the following query: "u.username like 'Ram_km' AND enddate = curdate" and then set "u.username like 'abc'," but it has not yielded the desired results. The SQL command I used is as follows: UPDATE users SET username = 'abc' WHERE username = 'Ram_km' AND ENDDATE = CURDATE();

4 REPLIES 4

NM
Honored Contributor III
Honored Contributor III

Hi @lakshman where have you added the query .. get certifier via query?

lakshman
New Contributor
New Contributor

lakshman_0-1725455382469.png

the qury is wrong but how to do that scenario managers last date is today ?

You need to configure user update rule and use action as launch certification 

rushikeshvartak_0-1725456454393.png

 


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

mbh_it2
New Contributor III
New Contributor III

@lakshman Try sth like below

(u.username like 'Ram_km' OR u.username like 'abc') AND u.enddate<=curdate()


Regards,
Mahesh

If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.