2.2.5.5 BRItemType

The BRItemType simple type specifies the selected business rule condition or action.

The following is the XML schema definition of the BRItemType simple type.

   <xs:simpleType name="BRItemType">
     <xs:restriction base="xs:string">
       <xs:enumeration value="NotSpecified" />
       <xs:enumeration value="IsEqual" />
       <xs:enumeration value="IsNotEqual" />
       <xs:enumeration value="Contains" />
       <xs:enumeration value="StartsWith" />
       <xs:enumeration value="EndsWith" />
       <xs:enumeration value="ContainsSubset" />
       <xs:enumeration value="IsGreaterThan" />
       <xs:enumeration value="IsGreaterThanOrEqual" />
       <xs:enumeration value="IsLessThan" />
       <xs:enumeration value="IsLessThanOrEqual" />
       <xs:enumeration value="IsBetween" />
       <xs:enumeration value="DefaultsToValue" />
       <xs:enumeration value="DefaultsToGeneratedValue" />
       <xs:enumeration value="EqualsValue" />
       <xs:enumeration value="EqualsConcatenatedValue" />
       <xs:enumeration value="MustBeGreaterThan" />
       <xs:enumeration value="MustBeGreaterThanOrEqual" />
       <xs:enumeration value="MustBeLessThan" />
       <xs:enumeration value="MustBeLessThanOrEqual" />
       <xs:enumeration value="MustBeBetween" />
       <xs:enumeration value="MinimumLength" />
       <xs:enumeration value="MaximumLength" />
       <xs:enumeration value="AllowableValues" />
       <xs:enumeration value="Unique" />
       <xs:enumeration value="Mandatory" />
       <xs:enumeration value="Invalid">
         <xs:annotation>
           <xs:appinfo>
             <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">27</EnumerationValue>
           </xs:appinfo>
         </xs:annotation>
       </xs:enumeration>
       <xs:enumeration value="DefaultsToConcatenatedValue">
         <xs:annotation>
           <xs:appinfo>
             <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">28</EnumerationValue>
           </xs:appinfo>
         </xs:annotation>
       </xs:enumeration>
       <xs:enumeration value="MustBeEqual">
         <xs:annotation>
           <xs:appinfo>
             <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">29</EnumerationValue>
           </xs:appinfo>
         </xs:annotation>
       </xs:enumeration>
       <xs:enumeration value="ContainsPattern">
         <xs:annotation>
           <xs:appinfo>
             <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">30</EnumerationValue>
           </xs:appinfo>
         </xs:annotation>
       </xs:enumeration>
       <xs:enumeration value="MustContainPattern">
         <xs:annotation>
           <xs:appinfo>
             <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">31</EnumerationValue>
           </xs:appinfo>
         </xs:annotation>
       </xs:enumeration>
       <xs:enumeration value="StartSiteWorkflow">
         <xs:annotation>
           <xs:appinfo>
             <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">32</EnumerationValue>
           </xs:appinfo>
         </xs:annotation>
       </xs:enumeration>
       <xs:enumeration value="HasChanged">
         <xs:annotation>
           <xs:appinfo>
             <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">33</EnumerationValue>
           </xs:appinfo>
         </xs:annotation>
       </xs:enumeration>
     </xs:restriction>
   </xs:simpleType>

The values of the enumeration are described in the following table.

Value

Meaning

NotSpecified

The business rule item type is not specified.

IsEqual

Condition: "is equal to" (=).

IsNotEqual

Condition: "is not equal to" (<>).

Contains

Condition: The attribute contains one of the following values.

StartsWith

Condition: The attribute value starts with a value.

EndsWith

Condition: The attribute value ends with a value.

ContainsSubset

Condition: The attribute value contains a substring.

IsGreaterThan

Condition: "is greater than" (>).

IsGreaterThanOrEqual

Condition: "is greater than or equal to" (>=).

IsLessThan

Condition: "is less than" (<).

IsLessThanOrEqual

Condition: "is less than or equal to" (<=).

IsBetween

Condition: The attribute value is between two values.

DefaultsToValue

Data Generation Action: Set the attribute to a value when it is blank.

DefaultsToGeneratedValue

Data Generation Action: Set the attribute to a generated (incremental) value when it is blank.

EqualsValue

Data Generation Action: Set the attribute to a value.

EqualsConcatenatedValue

Data Generation Action: Set the attribute to a value that is concatenated from multiple other attributes/values.

MustBeGreaterThan

Validation Action: An attribute is invalid if not greater than a value.

MustBeGreaterThanOrEqual

Validation Action: An attribute is invalid if not greater than or equal to a value.

MustBeLessThan

Validation Action: An attribute is invalid if not less than a value.

MustBeLessThanOrEqual

Validation Action: An attribute is invalid if not less than or equal to a value.

MustBeBetween

Validation Action: An attribute is invalid if not between two values.

MinimumLength

Validation Action: An attribute is invalid if not greater than or equal to a minimum length.

MaximumLength

Validation Action: An attribute is invalid if not less than or equal to a maximum length.

AllowableValues

Validation Action: An attribute is invalid if not equal to one of the allowed values.

Unique

Validation Action: An attribute is invalid if not unique across all entity members.

Mandatory

Validation Action: An attribute is invalid if blank.

Invalid

Validation Action: An attribute is invalid.

DefaultsToConcatenatedValue

Data Generation Action: Set the attribute to a value that is concatenated from multiple other attributes/values if the attribute is blank.

MustBeEqual

Validation Action: An attribute is invalid if not equal to a value.

ContainsPattern

Condition: The attribute contains a specified pattern.

MustContainPattern

Validation Action: An attribute is invalid if it does not contain a specified pattern.

StartSiteWorkflow

Action: Launch a SharePoint workflow.

HasChanged

Condition: This is true when an attribute in the specified change tracking group has been updated. After completion the flag will be returned to not changed.