Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

User Preprocessor Jar not getting invoked for User Import via Connection/File Upload

sdey_2023
Regular Contributor
Regular Contributor

Hi Team,

We have a preprocessor jar which stores the value of Usernames into customproperty by removing the special characters. This is working correctly for Users created via ARS/ on updating User manually from UI but when we are performing import of Users from Database trusted Source or Uploading Users via CSV, it is not getting invoked unless we manually update the User from Saviynt UI. Could you please share your insights about what might be the cause of this issue?

Thanks.

8 REPLIES 8

nimitdave
Saviynt Employee
Saviynt Employee

How are you invoking the jar while creating/up users from UI/ARS.

sdey_2023
Regular Contributor
Regular Contributor

Hi @nimitdave , we are using the User Validation External class and User Validation External Method for the same. For CSV/Import via database Connection, will this not work? How do we ensure then that it works for the later scenario as well. Thanks for your reply.

nimitdave
Saviynt Employee
Saviynt Employee

Imports will not use validation jar framework , for that you need to use preprocessor json. Below should provide some guidance:

https://docs.saviyntcloud.com/bundle/EIC-Admin-v23x/page/Content/Chapter03-User-Management/User-Impo...

sdey_2023
Regular Contributor
Regular Contributor

Thanks for sharing the same @nimitdave . There is an option of User Bulk Upload Validation External class and User Bulk Upload Validation External method within global configurations, will that not work as well for this usecase? Is the ModifyUserDataJson in Connection the only way to achieve the same?

nimitdave
Saviynt Employee
Saviynt Employee

That is for uploading users from ARS only, for imports through csv/connection the json is the only option.

Hi Nimit

 

Thank you for providing insights. So for uploading users from ARS, We just need to configure these two settings:

User Bulk Upload Validation External class: com.saviynt.custom.UserPreprocessValidator.validator.UserBulkCustomValidator 

and

User Bulk Upload Validation External Method : validateOrganizationUserRule

 

Then , as  Externalconfig.properties  configs, Pre-validation will happen? right?

sdey_2023
Regular Contributor
Regular Contributor

Hi @nimitdave , thanks for sharing the inputs. Just to confirm, here uploading users from ARS only means - "Create User Request" option available in ARS, which we can use for creating a single user? Because for bulk upload we need to use the Upload User feature under Users tab of Admin module via CSV file.

nimitdave
Saviynt Employee
Saviynt Employee

Within ARS also you can have a bulk user upload option available under user management.

You can upload users in bulk either directly or through a approval using this option.

This is sperate than csv upload from admin.