Pass Fail Conformance Checks Examples

The examples below use specifications with at least two inspections, and each inspection has a conformance rule set up:

All Halt on Failures

Inspection

Action

Halt on Failure

Inspection 1

Email

True

Inspection 2

Return

True

Queue Status

No inspections fail:

Conformance Numbers

Inspection 1

Inspection 2

Final Queue State

Inspection Status

Pass

Pass

-

Action

-

-

-

Status

-

-

Pass

The first inspection fails:

Conformance Numbers

Inspection 1

Inspection 2

Final Queue State

Inspection Status

Fail

Pass

-

Action

Email

-

Email

Status

Fail

-

Fail

The second inspection fails:

Conformance Numbers

Inspection 1

Inspection 2

Final Queue State

Inspection Status

Pass

Fail

-

Action

-

Return

Return

Status

-

Fail

Fail

Both inspections fail:

Conformance Numbers

Inspection 1

Inspection 2

Final Queue State

Inspection Status

Fail

Fail

-

Action

Email

-

Email

Status

Fail

-

Fail

No Halt on Failures

Inspection

Action

Halt on Failure

Inspection 1

Email

False

Inspection 2

Return

False

Queue Status

No inspections fail:

Conformance Numbers

Inspection 1

Inspection 2

Final Queue State

Inspection Status

Pass

Pass

-

Action

-

-

-

Status

-

-

Pass

First inspection fails:

Conformance Numbers

Inspection 1

Inspection 2

Final Queue State

Inspection Status

Fail

Pass

-

Action

Email

-

Email

Status

Fail

-

Fail

Second inspection fails:

Conformance Numbers

Inspection 1

Inspection 2

Final Queue State

Inspection Status

Pass

Fail

-

Action

-

Return

Return

Status

-

Fail

Fail

Both inspections fail:

Conformance Numbers

Inspection 1

Inspection 2

Final Queue State

Inspection Status

Fail

Fail

-

Action

Email

Return

Return

Status

Fail

Fail

Fail

Halt on Failure

The next examples use specifications with at least two inspections and two conformance rules:

Example 1

Inspection

Halt on Failure?

Inspection 1

Yes

Inspection 2

Yes

Inspection

Result

Script

Queue Record Status

Inspection 1

Fail

Queue record set to Failed. Action updated. Process terminates.

-

Inspection 2

Pass

Not evaluated.

Failed (rule #1 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Fail

Queue record set to Failed. Action updated. Process terminates.

-

Inspection 2

Fail

Not evaluated.

Failed (rule #1 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Pass

Queue record set to Passed. Script continues.

-

Inspection 2

Fail

Queue record set to Failed. Action updated.

Failed (rule #2 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Pass

Script continues.

-

Inspection 2

Pass

Queue record set to Passed.

Passed.

Example 2

Inspection

Halt on Failure?

Inspection 1

No

Inspection 2

Yes

Inspection

Result

Script

Queue Record Status

Inspection 1

Fail

Queue Record set to Failed. Action updated. Script continues.

-

Inspection 2

Pass

No update.

Failed (rule #1 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Fail

Queue Record set to Failed. Action updated. Script continues.

-

Inspection 2

Fail

Queue Record set to Failed. Action updated.

Failed (rule #2 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Pass

Script continues.

-

Inspection 2

Fail

Queue Record set to Failed. Action updated.

Failed (rule #2 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Pass

Script continues.

-

Inspection 2

Pass

Queue Record set to Passed.

Passed.

Example 3

Inspection

Halt on Failure?

Inspection 1

Yes

Inspection 2

No

Inspection

Result

Script

Queue Record Status

Inspection 1

Fail

Queue Record set to Failed. Action updated. Script terminates.

-

Inspection 2

Pass

Not evaluated.

Failed (rule #1 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Fail

Queue Record set to Failed. Action updated. Script terminates.

-

Inspection 2

Fail

Not evaluated.

Failed (rule #1 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Pass

Script continues.

-

Inspection 2

Fail

Queue Record set to Failed.

Failed (rule #2 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Pass

Script continues.

-

Inspection 2

Pass

Queue Record set to Passed.

Passed.

Example 4

Inspection

Halt on Failure?

Inspection 1

No

Inspection 2

No

Inspection

Result

Script

Queue Record Status

Inspection 1

Fail

Queue Record set to Failed. Action updated. Script continues.

-

Inspection 2

Pass

No update.

Failed (rule #1 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Fail

Queue Record set to Failed. Action updated. Script continues.

-

Inspection 2

Fail

Queue Record set to Failed. Action updated.

Failed (rule #2 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Pass

Script continues.

-

Inspection 2

Fail

Queue Record set to Failed. Action updated.

Failed (rule #2 action embedded).

Inspection

Result

Script

Queue Record Status

Inspection 1

Pass

Script continues.

-

Inspection 2

Pass

Queue Record set to Passed.

Passed.

Related Topics

General Notices