Conditions element
(WorkflowInfo element) (Action4)
Applies to: SharePoint Server 2013
In the workflow rule designer, represents corresponding, underlying functions that are used to evaluate workflow conditions, and which return Boolean values that represent the outcome of the evaluations. The parent container element for all Condition elements.
Usage
<Conditions>
<Condition />
<Default />
</Conditions>
Element information
Name | Value |
---|---|
Element type | |
Namespace | |
Schema file | Actions4.xsd |
Definition
<xs:element name="Conditions" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="Default" minOccurs="0" maxOccurs="1" >
<xs:complexType>
<xs:sequence>
<xs:element name="RuleDesigner" type="ruleDesignerType">
</xs:element>
</xs:sequence>
<xs:attribute name="ItemKeyType" type="s:string" />
</xs:complexType>
</xs:element>
<xs:element name="Condition" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:all>
<xs:element name="RuleDesigner" type="ruleDesignerType" minOccurs="1" maxOccurs="1" >
</xs:element>
<xs:element name="Parameters" type="parametersType" minOccurs="1" maxOccurs="1" >
</xs:element>
</xs:all>
<xs:attribute name="Type" type="s:string" />
<xs:attribute name="Name" type="s:string" use="required" />
<xs:attribute name="AppliesTo" type="appliesToTypes" use="required" />
<xs:attribute name="UsesCurrentItem" type="s:boolean" />
<xs:attribute name="ItemKeyType" type="s:string" />
<xs:attribute name="FunctionName" type="s:string" />
<xs:attribute name="Assembly" type="s:string" />
<xs:attribute name="ClassName" type="s:string" />
<xs:attribute name="ShapeImageUrl" type="s:string" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="And" type="s:string" />
<xs:attribute name="Or" type="s:string" />
<xs:attribute name="When" type="s:string" />
<xs:attribute name="Else" type="s:string" />
<xs:attribute name="Not" type="s:string" />
</xs:complexType>
</xs:element>
Elements and attributes
If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.
Parent elements
Element |
Type |
Description |
---|---|---|
Child elements
Element |
Type |
Description |
---|---|---|
Attributes
Note
The attributes listed in the following table are only read from the default ACTIONS file and cannot be overridden in any custom .ACTIONS file.
Attribute | Type | Required | Description | Possible values |
---|---|---|---|---|
And | s:string | optional | Displayed in the rule designer sentence when two or more conditions are used in the same conditional branch, and when all conditions must be satisfied before workflow actions can be executed. The value is not case-sensitive. The default value is and (applies only to the English language version of SharePoint). Example: |
Values of the s:string type. |
Else | s:string | optional | The text that is defined in this attribute is displayed in the rule designer sentence when a conditional branch activity is added to the workflow. The value is not case-sensitive. The default value is Else if (applies only to the English language version of SharePoint). Example: |
Values of the s:string type. |
Not | s:string | optional | The text that is defined in this attribute is displayed in the rule designer sentence when there are two or more conditions in the same conditional branch and any value will satisfy the conditions, allowing the workflow actions to execute. The value is not case-sensitive. The default value is not. Example: |
Values of the s:string type. |
Or | s:string | optional | The text that is defined in this attribute is displayed in the rule designer sentence when there are two or more conditions in the same conditional branch and any value will satisfy the conditions, allowing the workflow actions to execute. The value is not case-sensitive. The default value is or. Example: |
Values of the s:string type. |
When | s:string | optional | The text that is defined in this attribute is displayed in the rule designer sentence when a conditional branch is added that requires the values or conditions that follow it to return true for the workflow actions to execute. The value is not case-sensitive. The default value is If. Example: |
Values of the s:string type. |