Maintenance Work Rule Template
Contains templated definitions of the Work Rules applied to a Maintenance Plan Template. Through the Template, Work Rule Definitions are used to provide dynamic automation to create a Maintenance Plan with Work Rules.
API Name: SVMXA360__MaintenanceWorkRuleTemplate__c
Number of Fields: 11
FIELD LABEL
FIELD NAME
DATA TYPE
DESCRIPTION
Custom Relationship Fields
Applicable Product
SVMXA360__ApplicableProductId__c
Lookup(Applicable Product)
The Applicable Product with which this Work Rule Template Record is associated.
Maintenance Plan Template
SVMXA360__MaintenancePlanTemplateId__c
Lookup(Maintenance Plan Template)
​The Maintenance Plan Template with which this Work Rule Template Record is associated.
Technical Attribute Template
SVMXA360__SM_TechnicalAttributeTemplate__c
Lookup(Technical Attribute Template)
A lookup to the Technical Attribute Templates for Asset Technical Attributes. Utilized by A360 Maintenance Plans, this field influences what categories and attributes are available for selection in the condition definitions of a work rule template.
Work Type
SVMXA360__WorkTypeId__c
Lookup(Work Type)
The indicated Work Type for this Maintenance Work Rule Template. The value in this field will be mapped to the Work Type field on the Maintenance Work Rule created as part of a Maintenance Plan.
Standard Fields
Work Rule Template Title
Name
Text(80)
Autogenerated record name.
Custom Fields
Advanced Expression
SVMXA360__AdvancedExpression__c
Long Text Area(32768)
To store advanced expression values for the conditions defined
in an A360 Maintenance Work Rule Template with two or more condition definitions.
​Maintenance Work Rule Type
SVMXA360__Type__c
​Picklist
​A field for indicating the type of Maintenance Work Rule this MWR Template will generate. Type can be Calendar-Based for Recurrence Pattern, or Criteria-Based for Recordset Filter Criteria.
​Recordset Filter Criteria
SVMXA360__RecordsetFilterCriteriaId__c
​Text(18)
​A text field indicating the associated Recordset Filter Criteria for this Maintenance Work Rule Template. This field is only applicable if the MWR Type is defined as “Criteria-Based".
​Recurrence Pattern
SVMXA360__RecurrencePattern__c
​Text(255)
​Contains the frequency and duration governing the generation of work orders for a Maintenance Plan. This field is populated by a rule generator that is provided as part of the component for creating Work Rule Template records.
​Sort Order
SVMXA360__SortOrder__c
​Number(9, 0)
​Indicates the sort order of the Maintenance Work Rule Template. Sort Order sets the precedence that determines how work orders are generated when a Maintenance Plan or Maintenance Asset has two or more maintenance work rules generating a work order for the same date. The lowest sort order value takes precedence. This field’s Sort Order will be mapped to the Maintenance Work Rule created based on the Template.
​Template Type
SVMXA360__TemplateType__c
​Formula (Text)
A formula-based field on the information in the Applicable Product field or the Maintenance Plan Template field. Template Type indicates whether the Maintenance Work Rule Template is specific to the Maintenance Plan Template record or to an Applicable Product record associated with the template. This type will influence whether the Work Rule created for a Maintenance Plan (using this template) is created for the Maintenance Plan itself or for a Maintenance Asset record associated with the Plan.
Was this helpful?