Hello everyone,
I am currently having an issue with job queues in a multi-tenant environment and I am hoping you might know of possible solutions or workarounds.
In a nutshell:
Let us say we have a multi-tenant instance and in it we have 3 tenants - Tenant A, Tenant B and Tenant C Also, for each tenant we have many jobs in the job queue and we want each job to be executed independently from the other tenant. It should look like this:
Tenant A – 1 job status “In Progress”, others – “Ready”
Tenant B – 1 job status “In Progress”, others – “Ready”
Tenant C – 1 job status “In Progress”, others – “Ready”
Problem:
The problem is that the jobs are dependent on each other, regardless of which tenant they are in.
If we set concurrent running tasks to 1 from 5:
It will look like this:
Tenant A – 1 job status “In Progress”, others – “Ready”
Tenant B – job status for all – “Ready”
Tenant C – job status for all – “Ready”
If we left 5, it would look like this:
Tenant A – 3 jobs status “In Progress”
Tenant B – 2 jobs status “In Progress”
Tenant C – job status for all – “Ready”
Some jobs are dependent on each other, so I don’t want to let run more than one in tenant.
This is how I want it to be:
How it is:
Maybe someone has encountered the same problem and has a solution or suggestion on how to do it the way I want?
Also using Business Central v18
Thanks in advance!