What is the best way to implement custom states

I have a scenario in which I can a remote service from the scheduler and due to the result coming back from service I would like to change the status of the job to failed or succeed.
The service calls the scheduler back through a webhook and returns the status as Error or Success. Any Idea how to implement that using Hangfire?

1 Like