次の方法で共有


Parameter 要素 (WorkflowActions)

最終更新日: 2015年3月9日

適用対象: SharePoint Foundation 2010

この記事の内容
属性
子要素
親要素

すべての Parameter 要素に必要なコンテナを含みますが、定義可能な属性を含みません。特定条件下におけるパラメータの説明、またはアクション メソッドの署名情報を含みます。

Parameters 要素は複雑な要素の形式です。Actions と Conditions の両方の要素で、そのパラメータを定義するために使用できます。

<Conditions>
  <Condition>
    <Parameters>
    <Parameter />
    </Parameters>
  </Condition>
</Conditions>
<Actions>
  <Action>
    <Parameters>
      <Parameter />
    </Parameters>
  </Action>
</Actions>

属性

None

子要素

パラメータ

親要素

None

以下の例では、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>

関連項目

タスク

.ACTIONS ファイルの例

概念

宣言型のコーディング不要ワークフロー エディタを作成する

既定のワークフロー アクション

既定のワークフロー条件