(Conditions 要素)(WorkflowInfo 要素)(Action4)
適用対象: SharePoint Server 2013
Condition メソッド シグネチャのパラメーターの説明を含む Parameter 要素のコンテナー。 この要素は parametersType 型です。
使用方法
<Conditions>
<Condition>
<Parameters>
<Parameter />
</Parameters>
<RuleDesigner />
</Condition>
</Conditions>
要素情報
要素の種類 |
|
Namespace |
|
スキーマ ファイル |
Actions4.xsd |
定義
<xs:element name="Parameters" type="parametersType" minOccurs="1" maxOccurs="1">
</xs:element>
要素と属性
スキーマで sequence、minOccurs、maxOccurs、choice などの具体的な要件が定義されている場合は、定義のセクションを参照してください。
親要素
要素 |
型 |
説明 |
|---|---|---|
子要素
要素 |
型 |
説明 |
|---|---|---|
属性
なし。
例
以下の例では、Parameters 要素の構築方法を示し、ワークフロー エンジンがアセンブリ コードと相互作用できるようにします。
<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>