HP Device Manager 4.6 Administrator Guide

Table 4-1 Template sequence conditions (continued)
Icon Condition Description
success Execute the template only if the previous template completed successfully.
failure Execute the template only if the previous template completed with a failure.
To define a new template sequence:
Double-click the standard _Template Sequence template to open the Template Editor.
_Template Sequence
HPDM supports two types of template sequences: Basic and Advanced. A Basic template sequence
is a template sequence that uses the same condition between every template that is executed. An
Advanced template sequence is a template sequence that allows you to specify a different conditions
to control the execution of each template of the sequence.
Basic template sequences
Basic template sequences are defined by clicking the Content tab and then clicking Basic.
The Stop sequence on error checkbox is used to change the template execution condition. If this box
is checked, the template sequence will only continue when every template completes with a success
status. If the box is clear, every template will be executed in order regardless of previous execution
status.
The maximum number of templates in a basic template sequence is 50.
Advanced template sequences
Advanced template sequences are defined by clicking the Content tab and then clicking Advanced.
Figure 4-1 Template Editor—Template Sequence (Advanced)
This example shows four templates to be executed as follows:
Unconditionally execute the template _File and Registry.
If the previous template completed successfully, execute the first _Configure Agent template and
exit the sequence.
If the initial template fails, execute the _Update Agent template.
If the _Update Agent completes successfully, execute the final _Configure Agent template and
exit.
Task templates 27