Parameters element (Condition element)
(Conditions element) (WorkflowInfo element) (Action4)
Applies to: SharePoint Server 2013
Container for Parameter elements that includes descriptions of the parameters in Condition method signatures. This element is of type parametersType.
Usage
<Conditions>
<Condition>
<Parameters>
<Parameter />
</Parameters>
<RuleDesigner />
</Condition>
</Conditions>
Element information
Element type |
|
Namespace |
|
Schema file |
Actions4.xsd |
Definition
<xs:element name="Parameters" type="parametersType" minOccurs="1" maxOccurs="1">
</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
None.
Example
The following example demonstrates how to construct the Parameters element so that the workflow engine can interact with the assembly code.
<WorkflowInfo>
<Conditions>
<Default>…</Default>
<Condition>…</Condition>
<Parameters>
<Parameter />
</Parameters>
</Conditions>
<Actions Sequential="then" Parallel="and">
<Action Name="Update my custom SharePoint list"
ClassName="CustomActivities.OrderListFunctions"
Assembly="CustomActivities,
PublicKeyToken=71e9bce111e9429c,
Version=1.0.0.0,
Culture=neutral"
Category="My Custom Actions"
CreatesTask="true"
CreatesInList="UpdateList"
AppliesTo="all"
ListModeration="false"
UsesCurrentItem="true">
<RuleDesigner Sentence="Update %1">
<FieldBind Field="UpdateList"
Function="UpdateOrderList"
DesignerType="ChooseListItem"
ID="1"
Text="My Custom List">
</FieldBind>
</RuleDesigner>
<Parameters>
<Parameter Type="System.String, mscorlib"
Direction="In"
Name="UpdateList" />
</Parameters>
</Action>
</Actions>
</WorkflowInfo>