Поделиться через


Элемент Actions (элемент WorkflowInfo)

(Действие4)

Область применения: SharePoint Server 2013

Позволяет создавать настраиваемые действия рабочего процесса и расширять палитру доступных действий рабочих процессов, которые можно использовать для моделирования уникальных бизнес-процессов.

Применение

<WorkflowInfo>
  <Conditions>
  <Actions>
    <Action />
  </Actions>
</WorkflowInfo>

Сведения об элементе

Имя Details
Тип элемента
Namespace
Файл схемы Actions4.xsd

Определение

<xs:element name="Actions" minOccurs="0" maxOccurs="1">
  <xs:complexType>
    <xs:sequence>
      <xs:element name="Default" type="defaultElementType" minOccurs="0"  maxOccurs="1" ></xs:element>
      <xs:element name="Action" minOccurs="0"  maxOccurs="unbounded" >
        <xs:complexType>
          <xs:all>
            <xs:element name="Parameters" type="parametersType" minOccurs="0"  maxOccurs="1" ></xs:element>
            <xs:element name="RuleDesigner" type="ruleDesignerType" minOccurs="1"  maxOccurs="1" ></xs:element>
            <xs:element name="DataSources" type="dataSourcesType" minOccurs="0"  maxOccurs="1" ></xs:element>
            <xs:element name="Modifications" minOccurs="0"  maxOccurs="1" >
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="Modification" minOccurs="1"  maxOccurs="unbounded" >
                    <xs:attribute name=" TypeId" type="s:string" use="required"/>
                    <xs:attribute name="NameFormat" type="s:string" use="required"/>
                    <xs:attribute name="FormURN" type="s:string" use="required"/>
                  </xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="ActionVariables" minOccurs="0"  maxOccurs="1" >
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ActionVariables"  ></xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="ActionBody" minOccurs="0"  maxOccurs="1" >
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ActionBody"  ></xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
            <xs:element name="ActionConditions" minOccurs="0"  maxOccurs="1" >
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="ActionConditions"  ></xs:element>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:all>
          <xs:attribute name="Name" type="s:string" use="required"/>
          <xs:attribute name="ClassName" type="s:string" use="required"/>
          <xs:attribute name="Assembly" type="s:string"/>
          <xs:attribute name="FunctionName" type="s:string"/>
          <xs:attribute name="Category" type="s:string"/>
          <xs:attribute name="CreatesTask" type="s:boolean"/>
          <xs:attribute name="CreatesInList" type="s:string"/>
          <xs:attribute name="AppliesTo" type="appliesToTypes" use="required"/>
          <xs:attribute name="IsError" type="s:boolean"/>
          <xs:attribute name="ListModeration" type="s:boolean"/>
          <xs:attribute name="UsesCurrentItem" type="s:boolean"/>
          <xs:attribute name="CreatedTaskFormType" type="s:string"/>
          <xs:attribute name="__SolutionId" type="s:string"/>
          <xs:attribute name="SandboxedFunction" type="s:boolean"/>
          <xs:attribute name="ShapeImageUrl" type="s:string"/>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
    <xs:attribute name="Sequential" type="s:string"/>
    <xs:attribute name="Parallel" type="s:string"/>
  </xs:complexType>
</xs:element>

Элементы и атрибуты

Если в схеме определяются конкретные требования, например sequence, minOccurs, maxOccurs и choice, см. раздел определений.

Родительские элементы

Дочерние элементы

Атрибуты

Атрибут Тип Обязательный Описание Возможные значения
Параллельных s:string необязательный Указывает, что действия рабочего процесса должны выполняться параллельно, и объединяет соответствующие элементы действий в предложении элемента RuleDesigner (элемент Action) (элемент Actions) (элемент WorkflowInfo) (Action4). Значения типа s:string.
Последовательные s:string необязательный Указывает, что действия рабочего процесса должны выполняться параллельно, и объединяет соответствующие элементы действий в предложении элемента RuleDesigner (элемент Action) (элемент Actions) (элемент WorkflowInfo) (Action4). Значения типа s:string.