State

Document Status

stateDiagram-v2
    [*] --> pending
    pending --> inprogress
    inprogress --> finished
    inprogress --> system_error
    finished --> [*]
    system_error --> [*]
  • pending: Document is created successfully.
  • inprogress: System starts processing the request. The credit will be checked and deducted.
  • finished: Document has been processed successfully
  • system_error: System rejected document processing due to document is unpredictable or system internal issue. Credit will be refunded.

Batch Status

stateDiagram-v2
    [*] --> pending
    pending --> inprogress
    inprogress --> finished
    inprogress --> system_error
    finished --> [*]
    system_error --> [*]
  • pending: Batch is created successfully.
  • inprogress: System starts processing the request. The credit is be checked and deducted.
  • finished: Batch has been processed successfully
  • system_error: System rejected batch processing due to batch is unpredictable or system internal issue. Failed documents related to failed batch will have credits refunded. Successful documents won’t have credits refunded even if batch is failed.