Action 要素
(Actions 要素)(WorkflowInfo 要素)(Action4)
適用対象: SharePoint Server 2013
ワークフロー マネージャークライアント 1.0 でワークフロー アクションの基になるアクティビティまたはアクティビティを処理するために必要な情報が含まれます。
使用方法
<Actions>
<Action>
<Parameters />
<RuleDesigner />
<DataSources />
<Modifications>
<Modification/>
</Modifications>
<ActionVariables />
<ActionBody /
<ActionConditions />
</Action>
</Actions>
要素の情報
情報 | 場所 |
---|---|
要素の種類 | |
Namespace | |
スキーマ ファイル | Actions4.xsd |
定義
<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>
要素と属性
スキーマで sequence、minOccurs、maxOccurs、choice などの具体的な要件が定義されている場合は、定義のセクションを参照してください。
親要素
要素 |
型 |
説明 |
---|---|---|
子要素
要素 |
型 |
説明 |
---|---|---|
属性
属性 | 種類 | 必須 | 説明 | 使用可能な値 |
---|---|---|---|---|
__SolutionId | s:string | 省略可能 | クライアント アプリケーションが実装固有のアクションに書き込む GUID を指定します。 サーバーは GUID を使用して、ワークフロー 実行時にアセンブリを見つけるのに役立ちます。 | s:string 型の値。 |
AppliesTo | appliesToTypes | 必須 | このワークフロー アクションの内容を示します。 有効な値には、 site、 list、 doclib、および all が含まれます。 値 はすべて 、アクションが任意のスコープで使用可能であり、常に [アクション] リストに表示されることを意味します。 | appliesToTypes 型の値。 |
Assembly | s:string | 省略可能 | Action 要素を実装するための手順を含むアセンブリ名。 テキストには、PublicKeyToken、Version、および Culture の値を含める必要があります。 | s:string 型の値。 |
[カテゴリ] | s:string | 省略可能 | ワークフロー アクションのカテゴリを提供します。 この値は、使用可能なアクションの一覧をフィルター処理するために使用されます。 | s:string 型の値。 |
ClassName | s:string | 必須出席者 | ワークフロー アクションを実装するクラスの完全修飾名です。 | s:string 型の値。 |
CreatedTaskFormType | s:string | 省略可能 | 作成されたタスクの種類を指定します。 DataCollectTask を使用して、1 人のユーザーからデータを収集するタスクを作成します。GroupAssignedTask を使用して、1 人以上のユーザーからデータを収集するタスクを作成します。TodoItemTask を使用して、ユーザーからデータを収集しないが、ユーザーが何かを行ったことを検証するためにのみ存在するタスクを作成します。TaskProcess を使用して、アドホック コラボレーションを可能にし、1 人以上のユーザーからデータを収集できるフォームを持つタスクを作成します。 | s:string 型の値。 |
CreatesInList | s:string | 省略可能 | が設定されている場合は、ワークフローがリストまたはドキュメント ライブラリにアイテムを作成することを指定します。 値は、リストやドキュメント ライブラリの ID を含むパラメータ名に対応している必要があります。 | s:string 型の値。 |
CreatesTask | s:boolean | 省略可能 | true の場合、タスク リスト アイテムがワークフローに作成されます。 空白のままにすると、想定は false になり、タスクリスト項目は作成されません。 | s:boolean 型の値。 |
FunctionName | s:string | 省略可能 | 呼び出す関数の名前を指定します。 | s:string 型の値。 |
IsError | s:boolean | 省略可能 | true の場合、この Action 要素のインスタンスは、クライアント アプリケーションによってエラーと見なされます。 | s:boolean 型の値。 |
ListModeration | s:boolean | 省略可能 | true の場合、この Action 要素は、コンテンツの承認が有効になっているリストまたはドキュメント ライブラリに適用されます。 値が空白のままの場合は、false に設定されます。 | s:boolean 型の値。 |
名前 | s:string | 必須出席者 | ワークフロー エディターに表示されるワークフロー アクションのわかりやすい名前を表します。 | s:string 型の値。 |
SandboxedFunction | s:boolean | 省略可能 | true の場合、クライアント アプリケーションは、このアクションが選択されたときに実装固有のアクションを挿入します。 AssemblyName、ClassName、および FunctionName の組み合わせで定義された関数を呼び出すようにアクションを構成する必要があります。 設定する場合は、AssemblyName、ClassName、FunctionName、__SolutionIdも設定する必要があります。 | s:boolean 型の値。 |
ShapeImageUrl | s:string | 省略可能 | カスタム アクションまたはカスタム条件を作成するときにカスタマイズに使用できる既定のアイコン図形イメージ ファイルの URL。 | s:string 型の値。 |
UsesCurrentItem | s:boolean | 省略可能 | 特定のワークフロー アクションを "サイト" ワークフローで使用できるかどうかを指定します。 これを true に設定すると、アクションは使用できず、サイト ワークフローでは使用できません。 アクションのコピー/貼り付け関数もブロックされます。 この属性値が設定されていない場合、 false が暗黙的に指定されます。 | s:boolean 型の値。 |