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
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,6 @@ For a list of data stores that are supported as sources/sinks, see the [Supporte
34
34
35
35
The service provides a built-in driver to enable connectivity. Therefore you don't need to manually install any driver using this connector.
36
36
37
-
**Please use the actual value instead of the displayed value in ServiceNow.**
38
-
39
-
40
37
## Prerequisite
41
38
42
39
To use this connector, you need to have a role with at least read access to *sys_db_object* and *sys_dictionary* tables in ServiceNow.
@@ -116,6 +113,7 @@ To copy data from ServiceNow, set the type property of the dataset to **ServiceN
116
113
|:--- |:--- |:--- |
117
114
| type | The type property of the dataset must be set to: **ServiceNowV2Object**| Yes |
118
115
| tableName | Name of the table. | Yes |
116
+
| valueType | The type of ServiceNow table values. The value of this property can be `display` or `actual` (default). You can look at it as the parameter of `sysparm_display_value` as true or false when calling [ServiceNow REST APIs](https://developer.servicenow.com/app.do#!/rest_api_doc?v=jakarta&id=r_AggregateAPI-GET). | No |
119
117
120
118
**Example**
121
119
@@ -125,7 +123,8 @@ To copy data from ServiceNow, set the type property of the dataset to **ServiceN
125
123
"properties": {
126
124
"type": "ServiceNowV2Object",
127
125
"typeProperties": {
128
-
"tableName": "<table name>"
126
+
"tableName": "<table name>",
127
+
"valueType": "actual"
129
128
},
130
129
"schema": [],
131
130
"linkedServiceName": {
@@ -147,7 +146,7 @@ To copy data from ServiceNow, set the source type in the copy activity to **Serv
147
146
| Property | Description | Required |
148
147
|:--- |:--- |:--- |
149
148
| 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 also [use expression parameters](#using-expression-parameters).| No |
149
+
| 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). Note that you should use the actual value instead of the display value.| No |
151
150
|*Under `expression`*|||
152
151
| type | The expression type. Values can be Constant (default), Unary, Binary, Field and Nary. | No |
153
152
| value | The constant value. |Yes when the expression type is Constant or Field |
@@ -283,7 +282,8 @@ The ServiceNow V2 connector offers new functionalities and is compatible with mo
283
282
| Support **Query builder** in the source. |**Query builder** is not supported in the source. |
284
283
| SQL-based queries are not supported. | Support SQL-based queries. |
285
284
| sortBy queries are not supported in **Query builder**. | Support sortBy queries in **Query**. |
286
-
| You can view the schema in the dataset. | You can't view the schema in the dataset. |
285
+
| You can view the schema in the dataset. | You can't view the schema in the dataset. |
286
+
| You can configure `valueType` to `display` or `actual` in datasets. The display or actual table name is used as the value of `tableName`. <br><br>The column name is `[column name]` for both display and actual value.| The display or actual table name with "Display" or "Actual" prefix appended is used as the value of `tableName`.<br><br>The column name for actual value is `[column name]_value`, while for display value is `[column name]_display_value`.|
287
287
288
288
## Related content
289
289
For a list of data stores supported as sources and sinks by the copy activity, see [supported data stores](copy-activity-overview.md#supported-data-stores-and-formats).
0 commit comments