Sometimes workflows fail to complete due to failures of the workflow management system, for example when a Celery worker dies or there is a problem with RabbitMQ. We should create a periodic task to scan for incomplete workflows and retrigger them automatically until they are complete (i.e. none of the workflow tasks have status "not processed").
Sometimes workflows fail to complete due to failures of the workflow management system, for example when a Celery worker dies or there is a problem with RabbitMQ. We should create a periodic task to scan for incomplete workflows and retrigger them automatically until they are complete (i.e. none of the workflow tasks have status "not processed").