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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -142,9 +142,9 @@ None.
142
142
***payload** - (object, required): Dynamically generated content of the event
143
143
144
144
#### Limitations:
145
+
* The component starts tracking changes after the first execution (it means you have to "run-now" flow with this trigger or wait for the first execution by the scheduler to establish a connection and only after this new event will be listened)
145
146
* If you use **"Ordinary"** flow:
146
147
* Make sure that you execute it at least once per 3 days - according to the [documentation](https://developer.salesforce.com/docs/platform/pub-sub-api/references/methods/subscribe-rpc.html#replaying-an-event-stream) Salesforce stores events for up to 3 days.
147
-
* The component starts tracking changes after the first execution
148
148
* To `Retrieve new sample from Salesforce v2` you need to trigger an event on Salesforce side or provide a sample manually
this.logger.info(`Subscription is still running, last keepalive from Salesforce ${newDate(client.getLastKeepAlive()).toISOString()}, waiting for new messages`);
54
56
client.setLogger(context.logger);
55
57
return;
@@ -92,20 +94,16 @@ async function processTrigger(msg, cfg, snapshot) {
context.logger.warn(`Got error during connection to Salesforce: ${err.message}, lets call processTrigger one more (retry ${connectFailureRetry} of ${MAX_CONNECT_RETRIES})`);
context.logger.warn(`Failed to get keepalive message to finish: ${err.message}, lets call processTrigger one more time (retry ${connectFailureRetry} of ${MAX_CONNECT_RETRIES})`);
context.logger.warn(`Failed to get keepalive message to finish: ${err.message}, lets call processTrigger one more time (retry ${keepaliveFailureRetry} of ${MAX_CONNECT_RETRIES})`);
0 commit comments