Hi,

I am working on CMIS connector where i am passing a query like

SELECT * FROM cmis:document where creationDate/modificationDate is between
[last 24 hours]

But as per need, i need to update it to something like

SELECT * FROM cmis:document where creationDate/modificationDate is between
[currentSystemTime and lastSuccessfulJobRunTime]

so it takes parameters as current time & last successful job run time for
my CMIS job.

I was looking thru the code where i could see addSeedDocument() method as

public void addSeedDocuments(ISeedingActivity activities,
      DocumentSpecification spec, long startTime, long endTime, int
jobMode)... { .... }

i am thinking to paas startTime as last successful job run time & end time
as current system time. So i want to get inputs on how to get last
successful job run time which i assume is stored in DB.


Thanks for help.

Regards,
Lalit Jangra.

Reply via email to