Search code examples
azureazure-web-app-serviceazure-webjobsazure-webjobs-triggered

All Azure WebJob possible statuses


I would like to know all possible statuses for a triggered WebJob. I need this because of possible scenarios that might occur if something unwanted happenes.

I found this answer: https://github.com/MicrosoftDocs/azure-docs/issues/32612 by BryanTrach-MSFT but I find that answer insufficient. Maybe because he forgot some statuses like Failed or Success or because he was talking about Continuous WebJobs.

Thanks for the help :)


Solution

  • According to the Get Triggered Web Job api, there're 3 TriggeredWebJobStatus: Error, Failed, Success. A screenshot as below:

    enter image description here

    By the way, the status for continuous webjobs are as below:

    enter image description here