Rules for Step Dependencies
The inspection plan sent from the host system must adhere to a set of rules so that the VoiceApplication can determine how to link dependent steps to steps referenced in condition statements.
The rules are especially important because a plan can contain many instances of a single step—all with the same step ID but with potentially different dependent steps or with no dependencies at all.
Step Occurrence in Inspection Plans
- A reference step must appear before its dependent step in assignment. If the dependent step refers to a reference step that occurs later in the assignment, the dependent step is skipped.
- If a reference step cannot be found in the inspection plan, the VoiceApplication ignores the conditions and executes the dependent steps.
- If the reference step ID occurs only once in the inspection plan, the reference step can be in any non-parts section while the dependent step(s) appear in any section. Reference step IDs in parts sections can only be referenced by dependent steps in the same parts section.
- If the reference step ID occurs multiple times in the inspection plan, the reference step must be in the same section as its dependent step and must be the only instance of that step ID within that section.
Sample Inspection Plan: Single Reference Step in Plan; Defined before Any Dependent Steps |
Sample Inspection Plan: Single Reference Step and Dependent Steps Confined within Parts Section |
Sample Inspection Plan: Multiple References; Dependencies Confined within Sections |
||
---|---|---|---|---|
Section I Step A (reference) Step B Step C |
Section I Step B Step C |
Section I Step A (reference) Step D (dependent) Step A |
||
Section II Step D (dependent) Step C Step E Step C |
Section II Step E Step F |
Section II Step A (reference) Step D (dependent) Step B |
||
Section III Step E Step D (dependent) |
Parts Section I Step A (reference) Step E Step D (dependent) Step C Step D (dependent) |
Section III Step A Step E |
||
Parts Section Step D (dependent) |
Parts Section II Step E Step C |
Parts Section Step A (reference) Step D (dependent) Step G |