Checklist Procedures allow you to dynamically define the following:
Answers: defines which answers are presented to the operator for a specific question.
Inclusion: defines whether the question is displayed to the operator in the checklist.
Validation: defines whether the chosen/entered answer is the "right" answer.
This is done by calling a stored procedure which will return values dependent upon the current situation.
Expected output from an Answer stored procedure
| Column | Value |
| 1 | value |
| 2 | description |
| 3 | language id (optional) |
| 4 | image id (optional) |
When image_id is required, the language_id value becomes mandatory.
Expected output from Inclusion stored procedure:
value 1 to include the question
value 0 to exclude the question
Expected output from Validation stored procedure:
Return the expected value to compare to the value used to answer the question.
Select the Attribute tab.
Click Procedures.
The Checklist Procedure window opens.
Click the Add button (
)
Select what the procedure will be used for (Inclusion, Answers or Validation).
Click Next.
Enter a description for the checklist procedure.
Select a stored procedure from the drop-down list.
Only custom stored procedures are listed.
The parameters required by the stored procedure are listed.
Double-click the first parameter.
The Edit parameter window opens.
Select the value to be used:
Static Value: Enter the value that will always be used.
Runtime Value: Select the runtime value that will be used from the drop-down list.
Runtime Values are not available in Answers.
Click OK.
Repeat for all of the required parameters.
Enable External Database if required and select a database from the drop-down list.
Manage External Database Connections
Click Next.
Select a test station.
Click Next.
Select the Attribute tab.
Click Procedures.
The Checklist Procedure window opens.
Filter the list of procedures by selecting a Procedure Type from the drop-down list.
Select the checklist procedure to be modified and click
.
Modify the checklist procedure as described above.
Can we improve this topic?