Field | Required | Default | Multiple | Notes | Example | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
properties | Yes | - | No | Configuration object | |||||||
hostserver | Yes | - | No | ServiceNow Salesforce server url to be crawled (to be specified without protocol). | “myserver.service-now.com” | https://na15.salesforce.com | |||||
authRESTEndpointpageSize | Yes | - | No | Number of elements per page to be retrieved with the connection. | 2000 | ||||||
ignoreScanError | No | false | No | If set to true, a crawl will stop when a scan error is found. | true | ||||||
cacheEntireUserTable | No | false | No | If set to true, the entire sys_user is cached, rather than every user being cached when necessary. | true | ||||||
The Salesforce login url to be used | https://login.salesforce.com/services/oauth2/token | ||||||||||
apiVersion | No | false | No | Api version of the Salesforce server | 57.0 | ||||||
idleConnectionTimeout | Yes | 3600000 | No | Maximum time (in milliseconds) to keep an idle connection open. | 3600000 | ||||||
maxConnections | Yes | 100 | No | Maximum number of connections to be opened. | 100 | ||||||
maxConnectionsPerRoute | Yes | 10 | No | Maximum number of connections opened for the same target. | 10 | ||||||
connectionTimeout | Yes | 15000 | No | Maximum time (in milliseconds) to wait for the connection. | 15000 | ||||||
socketTimeout | Yes | 15000 | No | Maximum time (in milliseconds) to wait for a socket response. | 15000 | ||||||
throttlingRate | Yes | 5000 | No | Time period (in milliseconds) to throttle the connection. | 5000 | ||||||
throttlingConnectionRate | Yes | 500 | No | Maximum number of connections used during the throttling period. | 500 | ||||||
maxRetries | Yes | 3 | No | Maximum number of retries a failed document. | 3 | ||||||
retryWaitTime | Yes | 5000 | No | Time (in milliseconds) to wait before a retry. | 5000 | ||||||
proxyHost | Yes | Proxy hostname | |||||||||
proxyPort | Yes | 8080 | Proxy Port | 8080 | |||||||
proxySchema | http | Proxy Schema | http | ||||||||
proxyUsername | Yes | Proxy Username | |||||||||
proxyPassword | Yes | Proxy Password | countWithStats | No | true | No | If set to true, the Aggregate API will be used to get counts of rows from the Knowledge and Category tables. | false |
Code Block | ||||
---|---|---|---|---|
| ||||
{ "type": "servicenowsalesforce", "description": "ServiceNowSalesforce Test Connection", "credential": "e1664b70-b6ca-42c9-bfa1-7d76a18dd8e1", "properties": { "hostserver": "myserver.service-now.com""https://na46.salesforce.com/", "authRESTEndpoint": https://login.salesforce.com/services/oauth2/token, "apiVersion": 57.0, "pageSizeidleConnectionTimeout ": 3600000, "maxConnections": 1000, "maxConnectionsPerRoute": 10, "ignoreScanError"connectionTimeout": 15000, "socketTimeout": false15000, "cacheEntireUserTablemaxRetries": false3, "countWithStatsretryWaitTime": true5000 } } |
...