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

Default SAV role is not getting assigned

Vinit556
New Contributor III
New Contributor III

I have a DEV environment in which i am trying to add ROLE_SAV_ENDUSER as Default role for newly onboarded user.

I am trying to do it via technical rule as i do have Saviynt 2 Saviynt conection created.

Please let me know, if i am missing something.

10 REPLIES 10

rushikeshvartak
All-Star
All-Star

Share technical rule details & which type of import job are you using database ? You can specify in xml below things 

<checkRules>true</checkRules>
<zeroDayProvisioning>true</zeroDayProvisioning>



 link https://saviynt.freshdesk.com/support/solutions/articles/43000617705-database-connector-guide


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

Vinit556
New Contributor III
New Contributor III

Hello Rushikesh,

Thanks for replying.

Here is the technical rule:

Vinit556_0-1662976031151.png

Action:

Vinit556_1-1662976082761.png

Under Saviynt to Saviynt 2 connection, i am using following code (USERIMPORT)

</sql-query>
<importsettings>
<zeroDayProvisioning>true</zeroDayProvisioning>
<userNotInFileAction>NOACTION</userNotInFileAction>
<checkRules>true</checkRules>
<buildUserMap>true</buildUserMap>
<userReconcillationField>username</userReconcillationField>

 

 

 

You have add 2 user type in one condition add more row & add other condition. 

Or advance query

a.statuskey =1 and a.employeetype in ('Contractor', 'Contingent Worker') 


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

Try below in xml

<mapper description="This is the mapping field for Saviynt Field name" defaultrole="ROLE_SAV_ENDUSER" dateformat="date">


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

Under Saviynt to saviynt 2 connection, this is already there:

</importsettings>
<mapper description="This is the mapping field for SAviynt Field name" defaultrole="ROLE_SAV_ENDUSER">

Vinit556
New Contributor III
New Contributor III

Employee type is coming as "Contingent Worker / Contractor" from HR system.

Share logs when import is ran.. 

Does data analyzer return output when

Below query ran

Select username from users a where

a.statuskey =1 and a.employeetype in ('Contingent Worker / Contractor') 

 


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

Vinit556
New Contributor III
New Contributor III

Yes, above-said query shows result in data analyzer.

Vinit556_0-1662977324311.png

 

Share full xml & rule & job logs


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

sahajranajee
Saviynt Employee
Saviynt Employee

Hi @Vinit556 

Ensure that your rule is meant to trigger when user is updated from Import in the rule settings. Then once you run the import, check user history to see if the rule is getting evaluated?


Regards,
Sahaj Ranajee
Sr. Product Specialist