ExpressionSetDefinition
親種別
ファイルのサフィックスおよびディレクトリの場所
ExpressionSetDefinition コンポーネントのサフィックスは .expressionSetDefinition で、expressionSetDefinition フォルダーに保存されます。
バージョン
ExpressionSetDefinition コンポーネントは、API バージョン 55.0 以降で使用できます。
項目
| 項目名 | 説明 |
|---|---|
| description |
|
| interfaceSourceType |
|
| label |
|
| processType |
|
| template |
|
| versions |
|
ExpressionSetDefinitionVersion
式セットバージョンの定義を表します。
| 項目名 | 説明 |
|---|---|
| description |
|
| endDate |
|
| expressionSetDefinition |
|
| label |
|
| shouldShowExplExternally |
|
| startDate |
|
| status |
|
| steps |
|
| uiTier |
|
| variables |
|
| versionNumber |
|
ExpressionSetStep
式セットバージョンのステップを表します。
| 項目名 | 説明 |
|---|---|
| actionType |
|
| advancedCondition |
|
| aggregation |
|
| aggregation |
|
| conditionExpression |
|
| customElement |
|
| decisionTable |
|
| description |
|
| failedExplainerTemplate |
|
| failedMessageTokenMappings |
|
| label |
|
| name |
|
| noResultExplainerTemplate |
|
| noResultMessageTokenMappings |
|
| parentStep |
|
| passedExplainerTemplate |
|
| passedMessageTokenMappings |
|
| resultIncluded |
|
| sequenceNumber |
|
| shouldExposExecPathMsgOnly |
|
| shouldExposeConditionDetails |
|
| shouldShowExplExternally |
|
| stepType |
|
| subExpression |
|
ExpressionSetAdvancedCondition
詳細条件ステップを表します。
| 項目名 | 説明 |
|---|---|
| conditionLogic |
|
| criteria |
|
| errorMessage |
|
| resultParameter |
|
| successMessage |
|
ExpressionSetConditionCriteria
詳細条件で定義された基準を表します。
| 項目名 | 説明 |
|---|---|
| operator |
|
| sequenceNumber |
|
| sourceFieldName |
|
| value |
|
| valueType |
|
ExpressionSetAggregation
集計ステップを表します。
| 項目名 | 説明 |
|---|---|
| aggregatedParameter |
|
| aggregateFunction |
|
| expression |
|
ExpressionSetAssignment
割当てステップを表します。
| 項目名 | 説明 |
|---|---|
| aggregatedParameter |
|
| expression |
|
ExpressionSetConditionExpression
条件ステップの条件を表します。
| 項目名 | 説明 |
|---|---|
| errorMessage |
|
| expression |
|
| resultParameter |
|
| successMessage |
|
ExpressionSetCustomElement
式セットのカスタム要素を表します。API バージョン 56.0 以降で利用できます。
| 項目名 | 説明 |
|---|---|
| parameters |
|
ExpressionSetElementParameter
式セットのカスタム要素内のパラメーターを表します。API バージョン 56.0 以降で利用できます。
| 項目名 | 説明 |
|---|---|
| input |
|
| name |
|
| output |
|
| type |
|
| value |
|
ExpressionSetDecisionTable
ステップの決定表または決定マトリックスを表します。
| 項目名 | 説明 |
|---|---|
| decisionTableName |
|
| mappings |
|
| type |
|
ExpressionSetSubExpression
ステップ内のサブ式を表します。
| 項目名 | 説明 |
|---|---|
| expressionSet |
|
ExpressionSetVariable
式セット変数の定義を表します。
| 項目名 | 説明 |
|---|---|
| collection |
|
| dataType |
|
| decimalPlaces |
|
| description |
|
| fields |
|
| input |
|
| lookupName |
|
| lookupType |
|
| name |
|
| objectName |
|
| output |
|
| resultStep |
|
| type |
|
| value |
|
ExpressionSetVariableField
式セットの変数として使用されるオブジェクトの項目の定義を表します。
| 項目名 | 説明 |
|---|---|
| dataType |
|
| decimalPlaces |
|
| fields |
|
| lookupName |
|
| lookupType |
|
| name |
|
| objectName |
|
宣言的なメタデータの定義のサンプル
ExpressionSetDefinition コンポーネントの例を次に示します。
1<?xml version="1.0" encoding="UTF-8"?>
2<ExpressionSetDefinition xmlns="http://soap.sforce.com/2006/04/metadata">
3 <label>ExpSetWithAllSteps</label>
4 <processType>Bre</processType>
5 <template>false</template>
6 <description></description>
7 <interfaceSourceType>Sample</interfaceSourceType>
8 <versions>
9 <fullName>ExpSetWithAllSteps_V1</fullName>
10 <expressionSetDefinition>ExpSetWithAllSteps</expressionSetDefinition>
11 <label>ExpSetWithAllSteps V1</label>
12 <shouldShowExplExternally>false</shouldShowExplExternally>
13 <startDate>2022-08-09T22:04:56.000Z</startDate>
14 <endDate>2023-08-09T22:04:56.000Z</endDate>
15 <status>Draft</status>
16 <uiTier>false</uiTier>
17 <description>ExpSetWithAllSteps_V1</description>
18 <steps>
19 <description>Aggregate</description>
20 <actionType>BreAggregator</actionType>
21 <aggregation>
22 <aggergatedParameter>result</aggergatedParameter>
23 <aggregateFunction>Avg</aggregateFunction>
24 <expression>AVG ( result )</expression>
25 </aggregation>
26 <label>Aggregate</label>
27 <name>Aggregate</name>
28 <resultIncluded>true</resultIncluded>
29 <sequenceNumber>5</sequenceNumber>
30 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
31 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
32 <shouldShowExplExternally>false</shouldShowExplExternally>
33 <stepType>BusinessKnowledgeModel</stepType>
34 </steps>
35 <steps>
36 <label>Branch</label>
37 <name>Branch</name>
38 <resultIncluded>false</resultIncluded>
39 <sequenceNumber>4</sequenceNumber>
40 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
41 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
42 <shouldShowExplExternally>false</shouldShowExplExternally>
43 <stepType>Branch</stepType>
44 </steps>
45 <steps>
46 <actionType>AssignParameterValues</actionType>
47 <assignment>
48 <assignedParameter>b</assignedParameter>
49 <expression>SUM ( a , 10 )</expression>
50 </assignment>
51 <label>Calculation</label>
52 <name>Calculation</name>
53 <resultIncluded>true</resultIncluded>
54 <sequenceNumber>1</sequenceNumber>
55 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
56 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
57 <shouldShowExplExternally>false</shouldShowExplExternally>
58 <stepType>BusinessKnowledgeModel</stepType>
59 </steps>
60 <steps>
61 <actionType>AssignParameterValues</actionType>
62 <assignment>
63 <assignedParameter>result</assignedParameter>
64 <expression>b * 100</expression>
65 </assignment>
66 <label>Calculation</label>
67 <name>Calculation10</name>
68 <parentStep>DefaultLane</parentStep>
69 <resultIncluded>false</resultIncluded>
70 <sequenceNumber>1</sequenceNumber>
71 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
72 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
73 <shouldShowExplExternally>false</shouldShowExplExternally>
74 <stepType>BusinessKnowledgeModel</stepType>
75 </steps>
76 <steps>
77 <actionType>AssignParameterValues</actionType>
78 <assignment>
79 <assignedParameter>result</assignedParameter>
80 <expression>b * 1</expression>
81 </assignment>
82 <label>Calculation</label>
83 <name>Calculation3</name>
84 <parentStep>Condition</parentStep>
85 <resultIncluded>false</resultIncluded>
86 <sequenceNumber>1</sequenceNumber>
87 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
88 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
89 <shouldShowExplExternally>false</shouldShowExplExternally>
90 <stepType>BusinessKnowledgeModel</stepType>
91 </steps>
92 <steps>
93 <actionType>AssignParameterValues</actionType>
94 <assignment>
95 <assignedParameter>result</assignedParameter>
96 <expression>SUM ( b , 10 )</expression>
97 </assignment>
98 <label>Calculation</label>
99 <name>Calculation5</name>
100 <parentStep>Condition4</parentStep>
101 <resultIncluded>false</resultIncluded>
102 <sequenceNumber>1</sequenceNumber>
103 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
104 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
105 <shouldShowExplExternally>false</shouldShowExplExternally>
106 <stepType>BusinessKnowledgeModel</stepType>
107 </steps>
108 <steps>
109 <actionType>AssignParameterValues</actionType>
110 <assignment>
111 <assignedParameter>result</assignedParameter>
112 <expression>b * 10</expression>
113 </assignment>
114 <label>Calculation</label>
115 <name>Calculation8</name>
116 <parentStep>Condition7</parentStep>
117 <resultIncluded>false</resultIncluded>
118 <sequenceNumber>1</sequenceNumber>
119 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
120 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
121 <shouldShowExplExternally>false</shouldShowExplExternally>
122 <stepType>BusinessKnowledgeModel</stepType>
123 </steps>
124 <steps>
125 <conditionExpression>
126 <successMessage>success</successMessage>
127 <errorMessage>error</errorMessage>
128 <expression>IS10 == b</expression>
129 <resultParameter>condition_output__1</resultParameter>
130 </conditionExpression>
131 <label>Condition</label>
132 <name>Condition</name>
133 <resultIncluded>false</resultIncluded>
134 <sequenceNumber>2</sequenceNumber>
135 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
136 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
137 <shouldShowExplExternally>false</shouldShowExplExternally>
138 <stepType>Condition</stepType>
139 </steps>
140 <steps>
141 <advancedCondition>
142 <successMessage>success</successMessage>
143 <errorMessage>error</errorMessage>
144 <conditionLogic>1</conditionLogic>
145 <criteria>
146 <operator>Equals</operator>
147 <sequenceNumber>1</sequenceNumber>
148 <sourceFieldName>condition_output__1</sourceFieldName>
149 <value>true</value>
150 <valueType>Literal</valueType>
151 </criteria>
152 <resultParameter>condition_output__3</resultParameter>
153 </advancedCondition>
154 <label>Condition</label>
155 <name>Condition4</name>
156 <resultIncluded>false</resultIncluded>
157 <sequenceNumber>3</sequenceNumber>
158 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
159 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
160 <shouldShowExplExternally>false</shouldShowExplExternally>
161 <stepType>AdvancedCondition</stepType>
162 </steps>
163 <steps>
164 <conditionExpression>
165 <expression>IS10 == b</expression>
166 <resultParameter>condition_output__2</resultParameter>
167 </conditionExpression>
168 <label>Condition</label>
169 <name>Condition7</name>
170 <parentStep>Branch</parentStep>
171 <resultIncluded>false</resultIncluded>
172 <sequenceNumber>1</sequenceNumber>
173 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
174 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
175 <shouldShowExplExternally>false</shouldShowExplExternally>
176 <stepType>Condition</stepType>
177 </steps>
178 <steps>
179 <label>Default Lane</label>
180 <name>DefaultLane</name>
181 <parentStep>Branch</parentStep>
182 <resultIncluded>false</resultIncluded>
183 <sequenceNumber>2</sequenceNumber>
184 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
185 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
186 <shouldShowExplExternally>false</shouldShowExplExternally>
187 <stepType>DefaultPath</stepType>
188 </steps>
189 <steps>
190 <actionType>AssignParameterValues</actionType>
191 <assignment>
192 <assignedParameter>a</assignedParameter>
193 <expression>3</expression>
194 </assignment>
195 <failedExplainerTemplate>CalculationFailure</failedExplainerTemplate>
196 <failedMessageTokenMappings>
197 <expressionSetMessageToken>y2</expressionSetMessageToken>
198 <resourceReference>a</resourceReference>
199 </failedMessageTokenMappings>
200 <label>CalculationStepWithTokensAndMappings</label>
201 <name>CalculationStepWithTokensAndMappings</name>
202 <passedExplainerTemplate>CalculationSuccess</passedExplainerTemplate>
203 <passedMessageTokenMappings>
204 <expressionSetMessageToken>y1</expressionSetMessageToken>
205 <resourceReference>a</resourceReference>
206 </passedMessageTokenMappings>
207 <resultIncluded>false</resultIncluded>
208 <sequenceNumber>1</sequenceNumber>
209 <shouldExposExecPathMsgOnly>true</shouldExposExecPathMsgOnly>
210 <shouldExposeConditionDetails>false</shouldExposeConditionDetails>
211 <shouldShowExplExternally>true</shouldShowExplExternally>
212 <stepType>BusinessKnowledgeModel</stepType>
213 </steps>
214 <variables>
215 <collection>false</collection>
216 <dataType>Boolean</dataType>
217 <description>condition_output__3</description>
218 <input>false</input>
219 <name>condition_output__3</name>
220 <output>false</output>
221 <resultStep>Condition4</resultStep>
222 <type>Variable</type>
223 <value>False</value>
224 </variables>
225 <variables>
226 <collection>false</collection>
227 <dataType>Numeric</dataType>
228 <decimalPlaces>2</decimalPlaces>
229 <description>a</description>
230 <input>true</input>
231 <name>a</name>
232 <output>false</output>
233 <type>Variable</type>
234 <value>10</value>
235 </variables>
236 <variables>
237 <collection>false</collection>
238 <dataType>Boolean</dataType>
239 <description>condition_output__1</description>
240 <input>false</input>
241 <name>condition_output__1</name>
242 <output>false</output>
243 <resultStep>Condition</resultStep>
244 <type>Variable</type>
245 <value>False</value>
246 </variables>
247 <variables>
248 <collection>false</collection>
249 <dataType>Boolean</dataType>
250 <description>condition_output__2</description>
251 <input>false</input>
252 <name>condition_output__2</name>
253 <output>false</output>
254 <resultStep>Condition7</resultStep>
255 <type>Variable</type>
256 <value>False</value>
257 </variables>
258 <variables>
259 <collection>false</collection>
260 <dataType>Numeric</dataType>
261 <decimalPlaces>2</decimalPlaces>
262 <description>IS10</description>
263 <input>false</input>
264 <name>IS10</name>
265 <output>false</output>
266 <type>Constant</type>
267 <value>10</value>
268 </variables>
269 <variables>
270 <collection>false</collection>
271 <dataType>Numeric</dataType>
272 <decimalPlaces>2</decimalPlaces>
273 <description>b</description>
274 <input>false</input>
275 <name>b</name>
276 <output>true</output>
277 <type>Variable</type>
278 </variables>
279 <variables>
280 <collection>false</collection>
281 <dataType>Numeric</dataType>
282 <decimalPlaces>2</decimalPlaces>
283 <description>result</description>
284 <input>false</input>
285 <name>result</name>
286 <output>true</output>
287 <type>Variable</type>
288 </variables>
289 <versionNumber>1</versionNumber>
290 </versions>
291</ExpressionSetDefinition>前の定義を参照する package.xml の例を次に示します。
1<?xml version="1.0" encoding="UTF-8"?>
2<Package
3 xmlns="http://soap.sforce.com/2006/04/metadata">
4 <types>
5 <members>*</members>
6 <name>ExpressionSetDefinition</name>
7 </types>
8 <version>60.0</version>
9</Package>マニフェストファイル内のワイルドカードのサポート
このメタデータ型では、package.xml マニフェストファイル内のワイルドカード文字 * (アスタリスク) がサポートされます。マニフェストファイルの使用についての詳細は、「zip ファイルを使用したメタデータのリリースと取得」を参照してください。