Editing user table attributes

BillyMai
New Contributor III
New Contributor III

How can we edit the user's customproperty without the CUSTOMQUERYJOB and using the new Enhanced Query Execution? The use-case is, when we deprovision/remove an account, we need to take the date that the remove account task got completed and add that date to the user's custom property.

3 REPLIES 3

pmahalle
Valued Contributor II
Valued Contributor II

Hi @BillyMai ,

You can achieve this using update user config and update rule. Follow below steps for the same.

1. Add below query in UPDATEUSERJSON in Saviynt connection .

{"updateUserQry":["UPDATE USERS SET U.CUSTOMPROPERTY10=curdate() where U.USERKEY=${user.id}"]}

2.  Add action Create Update User Task with Saviynt connection where you have added UPDATEUSERJSON in above step in the same update rule which you are using for remove account.

It will create update user task once you update rule executed. After you run the Wsretry job, task will be completed and custom property10 will populated with current date.

Let me know if it helps.


Regards,

Pandharinath Mahalle(Paddy)
If this reply answered your question, please Accept it As Solution to help others who may have a similar problem.

dgandhi
All-Star
All-Star

Please check below link for sample:

https://docs.saviyntcloud.com/bundle/EIC-FAQ/page/Content/FAQs.htm

Search with "Enhanced Query Execution"

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

dgandhi
All-Star
All-Star

dgandhi_0-1692036756887.png

 

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