Workflow consists of rules. Rule is a function with the following parameters:
<rule match="$.services[?(@.type == 'msSqlClusterServer' and @.domain)].units[*]" desc="Units of SQL Server Cluster services which are part of the domain"> <set path="domain"> <select path="::domain"/> </set> </rule>
Rules are grouped into workflows:
<workflow> <rule id="rule1" match="..."> … </rule> <rule id="rule2" match="..."> … </rule> </workflow>