Add a new task to update a job to error - note it leaves the notifications in whatever state they were in.

This commit is contained in:
Martyn Inglis
2017-04-18 11:42:48 +01:00
parent 6a0efd80ab
commit 8956338d31
3 changed files with 23 additions and 3 deletions

View File

@@ -448,6 +448,7 @@ JOB_STATUS_SCHEDULED = 'scheduled'
JOB_STATUS_CANCELLED = 'cancelled'
JOB_STATUS_READY_TO_SEND = 'ready to send'
JOB_STATUS_SENT_TO_DVLA = 'sent to dvla'
JOB_STATUS_ERROR = 'error'
JOB_STATUS_TYPES = [
JOB_STATUS_PENDING,
JOB_STATUS_IN_PROGRESS,
@@ -456,7 +457,8 @@ JOB_STATUS_TYPES = [
JOB_STATUS_SCHEDULED,
JOB_STATUS_CANCELLED,
JOB_STATUS_READY_TO_SEND,
JOB_STATUS_SENT_TO_DVLA
JOB_STATUS_SENT_TO_DVLA,
JOB_STATUS_ERROR
]