You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/connector-servicenow.md
+59-1Lines changed: 59 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ To copy data from ServiceNow, set the source type in the copy activity to **Serv
147
147
| Property | Description | Required |
148
148
|:--- |:--- |:--- |
149
149
| type | The type property of the copy activity source must be set to: **ServiceNowV2Source**| Yes |
150
-
| expression| Use the expression to read data. You can configure the expression in **Query builder**. It has the same usage as the condition builder in ServiceNow. For instructions on how to use it, see this [article](https://docs.servicenow.com/bundle/vancouver-platform-user-interface/page/use/common-ui-elements/concept/c_ConditionBuilder.html). You can use dynamic content to configure the expression, and the example format is the object under `expression` shown in the example JSON below.| No |
150
+
| expression| Use the expression to read data. You can configure the expression in **Query builder**. It has the same usage as the condition builder in ServiceNow. For instructions on how to use it, see this [article](https://docs.servicenow.com/bundle/vancouver-platform-user-interface/page/use/common-ui-elements/concept/c_ConditionBuilder.html). You can also [use expression parameter](#using-expression-parameter).| No |
151
151
|*Under `expression`*|||
152
152
| type | The expression type. Values can be Constant (default), Unary, Binary, and Field. | No |
153
153
| value | The constant value. |Yes when the expression type is Constant or Field |
@@ -201,6 +201,64 @@ To copy data from ServiceNow, set the source type in the copy activity to **Serv
201
201
]
202
202
```
203
203
204
+
### Using expression parameter
205
+
206
+
You can configure the expression parameter in **Query builder** by selecting **Add dynamic content**. The parameter type should be **Object**, and the value should follow the format shown in the example JSON below:
207
+
208
+
```json
209
+
{
210
+
"type": "Nary",
211
+
"operators": [
212
+
"="
213
+
],
214
+
"operands": [
215
+
{
216
+
"type": "Field",
217
+
"value": "col"
218
+
},
219
+
{
220
+
"type": "Constant",
221
+
"value": "val"
222
+
}
223
+
]
224
+
}
225
+
```
226
+
227
+
Below is an example of the source JSON when utilizing the expression parameter:
0 commit comments