Different states from batches

I have batches that I am creating. Some go into the Succeeded column and some go into the Completed column. What is the difference between the columns? All the jobs in the batches that are in the Succeeded column say succeeded and the job is complete. Do I have to do something to tell hangfire to say that the job is complete?

@odinserj It would be handy to have this in the docs… We are also struggling to understand the difference between Completed and Succeeded batches…

Agree with you, need to document somehow that batch is moved to the Succeeded state when all of its jobs are in the Succeeded state, and if at least one in Deleted or other final state (please note that Failed state is not considered as a final one in Hangfire), then batch is moved to the Completed state – it’s completed, but not 100% succeeded.