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

Create task when the organization data updated for a user

Subash
New Contributor
New Contributor

Users table don't have the organization data he belongs to. So we cannot able to generate task using the user update rule when the user's organization got updated.

how to create task when user's organization data is updated?

9 REPLIES 9

rushikeshvartak
All-Star
All-Star

You can use users Customproperty [use preprocessor] when users organization is updated then you can use user update rule


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

Hi,

Where should i use the preprocessor?

During data import from trusted source


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

Subash
New Contributor
New Contributor

Thanks for the information!

I will try this out.

 

Subash
New Contributor
New Contributor

 Could you please validate the below query. I tried to update customproperty field for all the users. Is it the right way to provide the dynamic value for username (username=$u.username).

Select c.customername as OrganizationName from customer c where c.customerkey IN (select cu.customerkey from customer_users cu where userkey IN (select u.userkey from users u where username=$u.username))

 

Subash
New Contributor
New Contributor

Hi 

Can i use (username=$loggedInUser.id) instead of the (username=$u.username) to pick the usernames dynamically.

 

where are you trying to use above query ?


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

Subash
New Contributor
New Contributor

I am creating an attribute in global configurations and using this query there.

Subash_1-1663823804737.png

 

 

 

The supported binding variables are ${requestor} ,${requestee}, $(loggedInUser), and the user objects are exposed (for example: $(user.id))

You should use ${user.username}

Refer : https://saviynt.freshdesk.com/support/solutions/articles/43000663622-onboarding-users-using-access-r... 

 


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