Hey,
Trying to use batches that queue up jobs activated with a custom job activator based on autofac lifetime scope, the activator also resolves tenant-specific scope based on the job parameter sent in the job context (through filter).
So far the batch is created on the UI, and all the jobs are also showing under the batch, but upon all job completion (succeeded state), the batch is stuck at “Started” state and jobs remain in “Pending” tab, You can also notice that the batch tracking progress is not showing on the dashboard with orange progress/green succeeded, etc. As soon as I remove the custom activator and filter, batches are working fine with normal batch state updates upon jobs’ completion. Screenshot for reference when batch is stuck at started:
Is there something that may interfere with batch state update while using custom job activator + filter?