Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
<flow name="syncWithWatermark" processingStrategy="synchronous">
<poll doc:name="Poll">
<fixed-frequency-scheduler frequency="1" timeUnit="HOURS" />
<watermark variable="timestamp"
selector="MAX" selector-expression="#[payload.LastModifiedDate]" />
<sfdc:query config-ref="Salesforce"
query="select Id, LastModifiedDate from Contact where LastModifiedDate &amp;gt; #[flowVars['timestamp']]" />
<flow-ref name="doYourSyncMagic" doc:name="do sync" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.