Skip to content

Latest commit

 

History

History
211 lines (191 loc) · 10.3 KB

action-element-actions-elementworkflowinfo-elementaction4.md

File metadata and controls

211 lines (191 loc) · 10.3 KB
titledescriptionmanagerms.datems.audiencems.topicms.localizationpriorityms.assetid
Action element
Discusses the definition, elements and attributes for Action element which contains the information that is required for Workflow Manager Client.
laurawi
06/13/2022
Developer
reference
medium
98829cd3-8f68-351b-6e33-c0e27e174b58

Action element

(Actions element) (WorkflowInfo element) (Action4)

Applies to: SharePoint Server 2013

Contains the information that is required for Workflow Manager Client 1.0 to process a workflow action's underlying activity or activities.

Usage

 <Actions> <Action> <Parameters /> <RuleDesigner /> <DataSources /> <Modifications> <Modification/> </Modifications> <ActionVariables /> <ActionBody / <ActionConditions /> </Action> </Actions> 

Element information

InformationLocation
Element type
Namespace
Schema fileActions4.xsd

Definition

 <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> 

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

Actions


Child elements

Element

Type

Description

ActionBody

ActionConditions

ActionVariables

DataSources

dataSourcesType

Modifications

Parameters

parametersType

RuleDesigner

ruleDesignerType


Attributes

AttributeTypeRequiredDescriptionPossible values
__SolutionIds:stringoptionalSpecifies a GUID that the client application writes to the implementation-specific action. The server uses the GUID to help locate the assembly at workflow runtime.Values of the s:string type.
AppliesToappliesToTypesrequiredIndicates what this workflow action should be. Valid values include site, list, doclib, and all. The value all means that the action is available under any scope and will always show up in the Actions list.Values of the appliesToTypes type.
Assemblys:stringoptionalThe assembly name that contains instructions for implementing the Action element. The text should include the PublicKeyToken, Version, and Culture values.Values of the s:string type.
Categorys:stringoptionalProvides a category for the workflow action. This value is used to filter the list of available actions.Values of the s:string type.
ClassNames:stringrequiredFully qualified name of the class that implements the workflow action.Values of the s:string type.
CreatedTaskFormTypes:stringoptionalSpecifies the type of a task created. Use DataCollectTask to create a task that collects data from one user; use GroupAssignedTask to create a task that collects data from one or more users; use TodoItemTask to create a task that does not collect data from users but only exists for a user to validate that they have done something; use TaskProcess to create a task that has a form that allows for ad-hoc collaboration and might collect data from one or more users.Values of the s:string type.
CreatesInLists:stringoptionalIf set, specifies that the workflow create an item in a list or document library. Values must map to a parameter name that contains the ID of the list or document library.Values of the s:string type.
CreatesTasks:booleanoptionalIf true, a task list item is created in the workflow. If left blank, the assumption is false, and no task list items are created.Values of the s:boolean type.
FunctionNames:stringoptionalSpecifies the name of a function to call.Values of the s:string type.
IsErrors:booleanoptionalIf true, instances of this Action element are considered an error by the client application.Values of the s:boolean type.
ListModerations:booleanoptionalIf true, this Action element applies to a list or document library that has content approval enabled. If left blank, the assumption is false.Values of the s:boolean type.
Names:stringrequiredRepresents the descriptive name of the workflow action that is displayed to the workflow editor.Values of the s:string type.
SandboxedFunctions:booleanoptionalIf true, the client application inserts an implementation-specific action when this action is selected. The action should be configured to call a function defined by the conjunction of AssemblyName, ClassName, and FunctionName. If set, AssemblyName, ClassName, FunctionName, and __SolutionId must also be set.Values of the s:boolean type.
ShapeImageUrls:stringoptionalThe URL of a default icon shape-image file that is available for customization when creating custom actions or custom conditions.Values of the s:string type.
UsesCurrentItems:booleanoptionalSpecifies whether a given workflow action can be used in a "site" workflow. Setting this to true means that the action cannot be used and is not available for site workflows. The copy/paste function on actions is also blocked. If this attribute value is not set, false is implied.Values of the s:boolean type.
close