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

Preprocessor JAR User update query

andresvds
New Contributor II
New Contributor II

Hi Everyone!

We are currently tyring to use a JAR file to write userdata from the API to customproperties using the preprocessor. So we are trying to update the user's properties with customproperties from the Saviynt API.

We currently get error a error: java.lang.ClassNotFoundException --> com.saviynt.App_Saviynt". The main issue is that our Saviynt Job can't find the class. We already tried adding a main and played around with the userjson settings in our connector but we always get the same errors. So we have a few more questions about:

- The JOB can't find our class in the JAR -> com.saviynt.App_Saviynt, why?

(- Is there a way to see what parameters Saviynt uses for in our setup? -> Connection connection, Map<String, String> tempTableNamesMap?)

I added a screenshots of our code and our Saviynt setup (the rest of the code is irrelevant because it can't even find the App_Saviynt). We followed the Saviynt documentation and a Forum post (https://forums.saviynt.com/t5/identity-governance/preprocessor-jar-file/m-p/11461) What are we missing here? Thanks in advance for your help!

andresvds_0-1685692827742.pngandresvds_1-1685692833059.png

 

 

1 REPLY 1

andresvds
New Contributor II
New Contributor II

This problem is solved. Our preprocessor JAR works in the Saviynt connector and all our customproperties get mapped.

The problem was:

- ALWAYS restart your application when uploading a new JAR (we only did it once, which wasn't enough...)

- There was a problem with our select -> String userDataQuery = "SELECT customproperty1, customproperty60 FROM " + tempTableNamesMap.get("NEWUSERDATA");

- Make sure everything in the SELECT is mapped in the cols part of the connector