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

User Pre-processor Config JSON not working as expected

nomaaaaaan
New Contributor II
New Contributor II

Hello,

I've been trying to implement a usecase, while importing users from CSV, the users whos username, employeeid, location is null or empty don't get onboarded, I configured the User Pre-processor Config JSON as below, but it's not working as expected.

{
   "COMPUTEDCOLUMNS": [
    "USERNAME"
  ],
  "PREPROCESSQUERIES": [
    "delete from NEWUSERDATA where username is null or username=''",
    "delete from NEWUSERDATA where employeeid is null or employeeid=''",
"delete from NEWUSERDATA where location is null or location =''" ], }

I tried every version of this with different attributes / queries and computed columns but still its isn't working, I am not sure what am I missing, Could you guys please advise what could be the issue here.

Thanks. 

5 REPLIES 5

rushikeshvartak
All-Star
All-Star

You are trying delete queries in 

PREPROCESSQUERIES

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

nomaaaaaan
New Contributor II
New Contributor II

thank you for responding, so does delete queries do not work in PREPROCESSORQUERIES ?

Is there any way to achieve the above usecase?

You can use Custom JAR


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

Will it work for CSV?, if Yes, can you please help with a sample

https://forums.saviynt.com/t5/identity-governance/preprocessor-jar-file/m-p/11707#M3365 


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