Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
raghunath_boppanna
Contributor II
Contributor II

AEM API or Repctl command to get the commit timestamp

We are looking for the repctl command or AEM API to extract the commit timestamp of the current record the Replicate is processing from all tasks.   We are planning  to export these timestamps to S3 bucket and  start tasks from these timestamps using a script incase of failover. I don't see any AEM API currently available to support this. Please let us know if there is any workaround. Otherwise we would like to open this as an enhancement request.

Labels (1)
2 Replies
lpmarino
Contributor III
Contributor III

We added a global transformation to the task to add a column for SourceCommitTimestamp. Computation expression is $AR_H_COMMIT_TIMESTAMP

raghunath_boppanna
Contributor II
Contributor II
Author

We also use this for some tasks to get the commit timestamp, but we are looking for an AEM API similar to repctl "getCheckpoint" command which gives the record target applied timestamp by replicate. This goes in a loop and provides the updated timestamp for each task. We are looking for similar AEM API which loops through all tasks and provide the commit timestamp.