Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/17/2024 12:43 AM
Hi Everyone,
I am trying to write few attributes back to my DB, but facing an error while running the provisioning job I have provided my connection details below. and I am getting below error, please check and help me with resolving the error as I am not able to find this ')' in my connection.
UPDATEUSERJSON:{
"UpdateUserQry": ["CALL testproc( ) ",
"UPDATE dbo.test SET lan_id=${user.customproperty10}, email=${user.email}, companyname=${user.companyname} WHERE emi_id=${user.employeeid}"]
}
MODIFYUSERDATAJSON:
{
"ADDITIONALTABLES": {
"USERS": "SELECT * FROM USERS"
},
"COMPUTEDCOLUMNS": [
"email", "customproperty10"
],
"PREPROCESSQUERIES": [
"UPDATE NEWUSERDATA SET email = concat(substring(NEWUSERDATA.lastname,1,1),NEWUSERDATA.firstname,'@gmail.com')",
"UPDATE NEWUSERDATA SET customproperty10 = concat(substring(NEWUSERDATA.lastname,1,1),'XS',NEWUSERDATA.employeeid)"
]
}
Error:
SAV - Error while updating user - Incorrect syntax near ')'.
Solved! Go to Solution.
07/17/2024 09:33 PM
Is it working from database ?
07/17/2024 09:35 PM
Yes, I am able to import users from database.
07/17/2024 09:40 PM
What is issue ? Provisioning ?
Share task screenshot /logs?
07/17/2024 09:45 PM
Yes, I am trying to update user details in my DB from update user task with few attributes from Saviynt.
07/18/2024 02:03 AM
Able to solve the problem by removing the CALL TestProc(), now I can write back to DB.