Hello @Shruti1
Once the file is ingested successfully set the Option by this code:
setOption('lastingestion',new Date());
Then, in the new workflow, use this code to check the difference between the last ingestion and the current time.
var lastingestion=getOption('lastIngestion')
var now=new D...