Hey @pulkitvashisth I have already used some jobs; my concern is to perform two different jobs based on which instance it was replicated. If the CF or any other asset is replicated to the preview instance, I need to perform a different job than if it is replicated to the publish instance. I am sorry...
The code I wrote based on the article you provided works well on my local setup, but will it function properly in the cloud environment?List<String> agentIds = (List<String>) event.getProperty("agentIds");
logger.info("It is published to the PUBLISH isntance: {}", agentIds.contains("publish"));
I have a requirement to know after an asset is replicated whether it was replicated to the preview instance or the publish instance. Anyone has any idea how can I get this inside the Event handler?The code below was implemented for another purpose. How can I implement the above-mentioned requirement...
This was already present in my setting.xml. And after changing a little in Pom, the build was successful. But now the core bundle is in installed stage and throwing this error => com.adobe.acs.commons.email,version=[1.3,2) -- Cannot be resolved
Failed to execute goal on project project-name.all: Could not resolve dependencies for project com.project-name.aem:project.all:content-package:1.0.0-SNAPSHOT: The following artifacts could not be resolved: com.adobe.acs:acs-aem-commons-ui.content:zip:min:5.6.0, com.adobe.acs:acs-aem-commons-ui.apps...