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
+61-3Lines changed: 61 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ author: jianleishen
7
7
ms.subservice: data-movement
8
8
ms.topic: conceptual
9
9
ms.custom: synapse
10
-
ms.date: 10/16/2024
10
+
ms.date: 10/23/2024
11
11
---
12
12
13
13
# Copy data from ServiceNow using Azure Data Factory or Synapse Analytics
@@ -147,9 +147,9 @@ 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). | 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 parameters](#using-expression-parameters).| No |
151
151
|*Under `expression`*|||
152
-
| type | The expression type. Values can be Constant (default), Unary, Binary, and Field. | No |
152
+
| type | The expression type. Values can be Constant (default), Unary, Binary, Field and Nary. | No |
153
153
| value | The constant value. |Yes when the expression type is Constant or Field |
154
154
| operators | The operator value. For more information about operators, see *Operators available for choice fields containing strings* section in this [article](https://docs.servicenow.com/bundle/vancouver-platform-user-interface/page/use/common-ui-elements/reference/r_OpAvailableFiltersQueries.html).| Yes when the expression type is Unary or Binary |
155
155
| operands | List of expressions on which operator is applied.| Yes when the expression type is Unary or Binary |
@@ -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 parameters
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
+
Here is an example of the source JSON using the expression parameter:
0 commit comments