Configuring batch request to run sequentially/simultaneously

Which IIQ version are you inquiring about?

Sailpoint IIQ 8.4P1

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.

Hi Julian!!

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.

Hi @jvicente

If the order of operations matters for your batch request processing, SailPoint recommends using separate files for each request type and running them sequentially

More info can be found here

Thanks Robert!

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.

Hi Ivan. I originally had it unchecked, and it was processing in parallel. When I check it, it keeps procesing in parallel:

Do you have any custom code executing for this application? Before provisioning rule?

And is this behavior just for this app or all apps when you submit requests this way?

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.

Could you please specify

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

Running just means its in the queue. APralelel will be when you see the request ID fill

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-

logger.hibernateSQL.name=org.hibernate.SQL
logger.hibernateSQL.level=trace
logger.hibernateType.name=org.hibernate.type
logger.hibernateType.level=trace

These statements will produce a large volume of logs. Please ensure they are enabled only while executing the batch request.

Batch Requests run in a sequential order.