Hi,
We are using camunda ee 7.18 and we have observed limitation in selecting the process instances in bulk in batch operation.
We are performing below batch operation-
We are not able to select all the listed process instances i.e. 3496. Its only allwoing to slect 12 process instances at a time. Do we have any configuration to change this pagination count and select more process instances in bulk.
Thanks,
Pradip Patil
Hi @Pradip_Patil
If your end goal is to set retries for a large number of process instances then I would suggest you use the REST API to do it: Camunda Automation Platform 7.21.3 REST API
Regards,
Alex
1 Like
Hi @Pradip_Patil
If you want to select all instances, it still works in the Cockpit.
When no checkbox is checked, you’ll see that the batch will be executed for all process instances in the filter.
1 Like
Hi @rohwerj ,
If i do not check any checkbox then button is in disabled state. And i am not able to proceed.
I need to check check box to enable it.
@Pradip_Patil
You have to set the selection mode to query, to allow the selection of all process instances.
Yes after after selecting query i am able to see that button is enabled.
Hi @rohwerj ,
One more issue(JobIds is empty) i can see further while executing the batch job-
I tried same with REST API and fond same error-
It’s really strange. It’s telling you, that you’re about the retry 888 instances and then no jobs are found?
So it seems, that there are no current jobs for these process instances. Could be because the query is selecting from the historic process instances (which include finished ones). Maybe you have to either use a “normal” process instance query or additionally filter for active process instances.
Yes. When i checked db tables for jobs. History job tables has all 888 records n runtime job table had none.
So on GUI while selecting processes from GUI its picking from history but while executing its failing to read anything from runtime.
@Pradip_Patil if those jobs don’t exist in the runtime anymore, you cannot set the retries for them.
This means they were either completed or deleted.