Flow 元素

(Flow 元素) (WorkflowInfo 元素) (Action4)

适用于:SharePoint Server 2013

表示视觉工作流设计器中 “转到阶段 ”操作的基础活动。

用法

    <Flows>
        <Flow>
            <RuleDesigner />
            <Paramters />
        </Flow>
    </Flows>

元素信息

元素类型

命名空间

架构文件

Actions4.xsd

定义

    <xs:element name="Flow" minOccurs="0" maxOccurs="unbounded">
       <xs:complexType>
          <xs:sequence>
             <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:sequence>
          <xs:attribute name="Name" type="s:string" use="required" />
          <xs:attribute name="Category" type="s:string" use="required" />
       </xs:complexType>
    </xs:element>

元素和属性

如果架构定义了特定要求(如 sequence、 minOccurs、 maxOccurs 和 choice),请参阅定义部分。

父元素

元素 类型 说明
流 单个 Flow 元素的容器元素 (Flow 元素) (WorkflowInfo 元素) (Action4) 元素。

子元素

元素 类型 说明
参数 parametersType 用作 Parameter 元素的容器,不包含任何可定义属性。 在操作方法签名中包括参数的说明。
RuleDesigner ruleDesignerType 包含允许在 SharePoint Designer 或 Visual Studio 的可视工作流编辑器中呈现声明性句子的信息。

属性

属性 类型 必需 说明 可能的值
类别 s:string 必需 指定视觉设计器用户界面中的功能区类别 (在本例中为包含“转到阶段”操作的 Common Flow) 。 s:string 类型的值。
名称 s:string 必需 指定标识可视化设计器用户界面中的操作的字符串。 在本例中,名称为 “转到阶段”。 s:string 类型的值。