Custom workflow step not getting displayed
Dear All ,
We have a requirement of creating a Custom workflow step using OSGI R6 annotation but the problem we are facing is that custom step is not getting displayed in workflow step chooser drop down in aem archtype 11 in aem 6.3 sp3 cfp2 . Will somebody faced same issue and have some solution to it.
Below is the following code :
package com.adobe.aem.guides.mam.core;
import com.adobe.granite.workflow.WorkflowException;
import com.adobe.granite.workflow.WorkflowSession;
import com.adobe.granite.workflow.exec.WorkItem;
import com.adobe.granite.workflow.exec.WorkflowProcess;
import com.adobe.granite.workflow.metadata.MetaDataMap;
import org.osgi.service.component.annotations.Component;
import org.osgi.framework.Constants;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@Component(immediate=true, service = ReplicateViaSpecificAgent.class, property = {Constants.SERVICE_DESCRIPTION + "=Write Adaptive Form Attachments to File System",
Constants.SERVICE_VENDOR + "=Adobe Systems","process.label=ActivateViaSpecificAgent" })
public class ReplicateViaSpecificAgent implements WorkflowProcess{
private static final Logger log = LoggerFactory.getLogger(ReplicateViaSpecificAgent.class);
@Override
public void execute(WorkItem workItem, WorkflowSession session, MetaDataMap processArguments) throws WorkflowException {
log.debug("Hello World");
}
}
Thanks in Advance ![]()
