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: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,6 @@
1
+
## 2.5.1 (January 31, 2023)
2
+
* Fixed [issue](https://github.com/elasticio/salesforce-component-v2/issues/59) with 431 and 414 errors in `Get Updated Objects Polling` trigger: new configuration field `Selected Fields` added
3
+
1
4
## 2.5.0 (January 13, 2023)
2
5
* Fixed issue with attachments in `Bulk Create/Update/Delete/Upsert` action
3
6
* Added ability to directly provide url to csv file in `Bulk Create/Update/Delete/Upsert` action
|SALESFORCE_API_VERSION| false | Determines API version of Salesforce to use | Default: `46.0`|
44
+
|REFRESH_TOKEN_RETRIES| false | Determines how many retries to refresh token should be done before throwing an error | Default: `10`|
45
+
|HASH_LIMIT_TIME| false | Hash expiration time in ms | Default: `600000`|
46
+
|HASH_LIMIT_ELEMENTS| false | Hash size number limit | Default: `10`|
47
+
|UPSERT_TIME_OUT| false | Time out for `Upsert Object` action in ms| Default: `120000` (2min) |
48
48
49
49
## Credentials
50
50
Authentication occurs via OAuth 2.0.
@@ -56,13 +56,13 @@ During credentials creation you would need to:
56
56
- select existing Auth Client from drop-down list ``Choose Auth Client`` or create the new one.
57
57
For creating Auth Client you should specify following fields:
58
58
59
-
Field name|Mandatory|Description|
60
-
|----|---------|-----------|
61
-
|Name| true | your Auth Client's name |
62
-
|Client ID| true | your OAuth client key |
63
-
|Client Secret| true | your OAuth client secret |
64
-
|Authorization Endpoint| true | your OAuth authorization endpoint. For production use `https://login.salesforce.com/services/oauth2/authorize`, for sandbox - `https://test.salesforce.com/services/oauth2/authorize`|
65
-
|Token Endpoint| true | your OAuth Token endpoint for refreshing access token. For production use `https://login.salesforce.com/services/oauth2/token`, for sandbox - `https://test.salesforce.com/services/oauth2/token`|
|Authorization Endpoint| true | your OAuth authorization endpoint. For production use `https://login.salesforce.com/services/oauth2/authorize`, for sandbox - `https://test.salesforce.com/services/oauth2/authorize`|
65
+
|Token Endpoint| true | your OAuth Token endpoint for refreshing access token. For production use `https://login.salesforce.com/services/oauth2/token`, for sandbox - `https://test.salesforce.com/services/oauth2/token`|
66
66
67
67
- fill field ``Name Your Credential``
68
68
- click on ``Authenticate`` button - if you have not logged in Salesforce before then log in by entering data in the login window that appears
@@ -74,6 +74,7 @@ Field name|Mandatory|Description|
74
74
### Get Updated Objects Polling
75
75
### Config Fields
76
76
***Object Type** Dropdown: Indicates Object Type to be fetched
77
+
***Selected Fields** Multiselect dropdown: list with all Object Fields. Select fields, which will be returned in response. That can prevent [431 and 414 Errors](https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_api.htm).
77
78
***Include linked objects** Multiselect dropdown: list with all the related child and parent objects of the selected object type. List entries are given as `Object Name/Reference To (Relationship Name)`. Select one or more related objects, which will be join queried and included in the response from your Salesforce Organization. Please see the **Limitations** section below for use case advisories.
78
79
***Emit behavior** Dropdown: Indicates emit objects individually or emit by page
79
80
***Start Time** - TextField (string, optional): Indicates the beginning time to start retrieving events from in ISO 8601 Date time utc format - YYYY-MM-DDThh:mm:ssZ
this.logger.debug('Emitted records deleted. Current results length is %s',results.length);
66
91
}
67
92
if(results.length===MAX_FETCH){
93
+
this.logger.debug('The size of the resulting array is equal to MAX_FETCH, so all entries that have the same LastModifiedDate as the last entry will be deleted from the resulting array to prevent emitting duplicates');
0 commit comments