cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Salesforce - filtering by the last run time of a Pipeline

Soulful8Punkful
New Contributor

Hi,

I am trying to use the last run time of a pipeline to filter Salesforce records by comparing their last modified date with the pipelines last run and was wondering what the best course of action is. Iโ€™ve seen a couple of varying ideas on how to go about this. I tried storing the timestamp from the pipeline in a json file and then calling it later down the line but Iโ€™m having trouble getting it to work and it makes the pipeline big and bulky.

Thank you!

1 REPLY 1

Steve
Former Employee

Hi,

I use the same method, storing last run timestamp in a JSON file within SLDB. It did add some complexity to the pipeline, but it worked well. Another option, which Iโ€™ve not tried, would be to use the Pipeline monitoring API (see https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438155/Pipeline+Monitoring+API) to determine the last run timestamp for the Pipeline.