What is alternative for ReplicationAction in AEMaaCS
I have a scenario where i trigger job in AEM Publish instance using ReplicationAction in on-prem, so now in AEMaaCS how to get replication object??
final ReplicationAction replicationAction = ReplicationEvent.fromEvent(event).getReplicationAction();
final ReplicationActionType actionType = replicationAction.getType();
final String FilePath = replicationAction.getPath();
i'm using the filePath to trigger job for removing the file/asset here.
could anyone guide me here that how to get path or file name while unpublishing/remove or publishing??