編輯

共用方式為


WorkflowInfo Element (WorkflowInfo)

Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013

The root element of the Actions schema. This element must be included in any .ACTIONS file that is installed on the server.

Definition

<WorkflowInfo>
  <Conditions>…</Conditions>
  <Actions>…</Actions>
</WorkflowInfo>

Elements and attributes

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

**Language**

Refers to the language of the server, not the client. This is notated as a language/culture pair. For example "en-us" is used to specify "English-United States" (see Locale Identifier Constants and Strings).

Child elements

Conditions

Actions

Parent elements

None

Example

The following XML demonstrates how to construct the WorkflowInfo element so that all custom actions or conditions that it contains are correctly displayed in the workflow editor.

    <WorkflowInfo language="en-us">
       <Conditions>…</Conditions>
       <Actions>…</Actions>
    </WorkflowInfo>

See also