and more in a single search tool across platforms. Read the announcement here. |
02/20/2023 12:53 AM
Hi Team,
Am having insert query in create account JSON for DB connection type, while am running the query if the row doesn't insert into the table am not seeing any provisioning comment that no row inserted in the table.
Can I have confirmation in task whether row inserted or not
02/20/2023 01:34 AM
Provisioning comments will not capture the insert query details or it is inserted or not.
02/20/2023 05:19 AM
@RakeshMG Regardless of the provisioning comment, if no row has been inserted in the DB side, the task should fail .. right now since task is getting successful, the account shows-up on Saviynt whereas it is not there on endpoint .. how to handle this situation ?
This looks the very basic use case... how to go around this ?
02/20/2023 07:44 AM
Please check the logs if you are having any response or error, while provisioning job is executing.
Also please share the complete scenario of your use-case.
02/23/2023 05:46 PM
In the logs it does not show anything specific with response message from DB2. It just shows success.
02/24/2023 06:36 AM
Would you able to try that insert statement directly on DB and see the response and behaviour whether it is completing or not?
02/23/2023 10:03 AM
Looks like insert statement is not giving any response/errors that saviynt understands as failure. What is the response you are seeing in logs when insert didn't happen?
02/24/2023 06:51 AM
correct. The query is not giving any error. since it is not inserting any row it's showing "affected rows 0"
02/24/2023 07:06 AM
I think that is the reason saviynt couldn't understand it is failure hence marking it as complete
02/24/2023 07:08 AM
right .. what to do ?
02/24/2023 08:32 AM
What is the target database type? can't you use create statement instead of insert?
What exactly you trying to insert?