I'm currently trying to find a way to execute code that requires the JobId and the new job state every time the status of a Hangfire job changes. With general filters it is not possible to get this data, because many values are null during this process.
Apparently there used to be something like an
IBackgroundJobStateChanger
IBackgroundJobStateChanger
but it doesn't work anymore since a few versions (Or I just don't know how...)
Does anyone have another idea to solve the problem?