Workflow Cascade from SS to JS

A job scheme's Workflow Status is evaluated from each underlying sample scheme's Workflow Status.

Note: A sample/job has to have at least one analytical analyte that is workflow active for a sample to eventually become complete. For example, a sample/job cannot just contain a miscellaneous scheme for the sample/job to become complete.

For example: If a job has four samples and only a miscellaneous scheme registered on each of those samples, if the job scheme is completed using the Set Scheme Workflow Status flow on the job scheme, then each related sample scheme becomes completed, but the sample and the job remain as not started.

JS's
Workflow Status

Comment

Not Started

Set at job scheme creation,

or by the cascade engine when all sample schemes associated with the job scheme have a Workflow Status of Not Started.

Started

Set by the cascade engine when at least one sample scheme associated with the job scheme has a Workflow Status of Started, Analysed, Released or Completed, but not all sample schemes' Workflow Status are Analysed, Released, Completed, Listed Not Received, Insufficient Sample, Not Analysed or No Result.

Analysed

Set by the cascade engine when, for the sample schemes associated with the job scheme, each sample scheme's Workflow Status is Analysed, Released, Completed, Listed Not Received, Insufficient Sample, Not Analysed or No Result, and at least one sample scheme's Workflow Status is Analysed.

Released

Set by the cascade engine when, for the sample schemes associated with the job scheme, each sample scheme's Workflow Status is Released, Completed, Listed Not Received, Insufficient Sample, Not Analysed or No Result, and at least one sample scheme's Workflow Status is Released.

Completed

Set by cascade from the sample scheme

  • When, all sample schemes associated with the job scheme have a Workflow Status of Completed, Listed Not Received, Insufficient Sample, Not Analysed or No Result, and at least one has a Workflow Status of Completed.

Proceeding from the first row, where the statement is correct on a row, the workflow status in the right-hand column of that row is set on the sample scheme, and the process exits.

Underlying sample schemes

Job scheme

If all NST, REP

NST, exit

If all CPL, LNR, IS, NA, NR

CPL, exit

If all REL, CPL, LNR, IS, NA, NR

REL, exit

If all ANA, REL, CPL, LNR, IS, NA, NR

ANA, exit

Else

STA, exit