Hi everyone, I would like to know where to configure the execution mode for Batch Requests in IIQ. Specifically, I want to control whether the lines in a batch file are processed sequentially (one-by-one) or simultaneously (parallel/multithreaded).
I’ve noticed a change in my environment’s behavior some time ago, and now I need to find the specific setting to manage the number of threads used for processing batch requests. Any guidance on this would be appreciated.
the option to generate Identity Access requests, on the batch file creation is where you control that.
If you want line by line leave it uncheck. if you want paralel processing you can check it and it will generate for each line an access request. Those will be processed by Perform Maintenance as a background job.
If the order of operations matters for your batch request processing, SailPoint recommends using separate files for each request type and running them sequentially
It’s not about the order; I’m having random errors that I thought might be due to simultaneous execution. The file assigns several roles to the same user. They are all IT roles with a RACF group. The error: “An unexpected error occurred: org.hibernate.exception.ConstraintViolationException: could not execute statement”.
If I assign the roles one by one (either via batch request or from Management User Roles), there are no errors.
There are many roles that include scripts for their assignment. There are also many custom rules, but I wouldn’t know how to review the ones that run for a specific batch request.
This behavior is the same for all batch requests, regardless of the applications involved.
Are you able to pull a full stack trace for this error? That error statement can happen in 1 of many ways - the database is rejecting the operation given a database constraint is violated
@jvicente Batch Request process records one by one only. It pass the line item one at a time to the mapped Batch LCM workflow. You might want to check sailpoint.task.BatchRequestTaskExecutor which is being used to process the batch request file. AFAIK there is no parallel execution mode available in this task, it reviews line item sequentially and pass it to the workflow.
Maybe there was a change in configuration somewhere in the workflow, wich makes it process requests in parallel. I’m sure previously lines were executed one by one, but don´t know wich configuration changed
Hi @jvicente - batch requests always execute in serial fashion. The org.hibernate.exception.ConstraintViolationException error indicates that a database constraint was violated when SailPoint tried to insert, update, or delete a record. You can enable following SQL loggers to find out the root cause-