How to create custom workflow steps in AEM 6.3 ?
How to create custom workflow steps in AEM 6.3 ? any Idea. because @property, @service is deprecated
How to create custom workflow steps in AEM 6.3 ? any Idea. because @property, @service is deprecated
You can use the OSGI R6 Component annotation.
org.osgi.service.component.annotations.Component
@Component(service=WorkflowProcess.class, property = {"process.label=My Workflow Process"})
public class MyWorkflowProcess implements WorkflowProcess {
@Override
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaDataMap) throws WorkflowException {
// code
}
}
Make sure you have the appropriate dependencies.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.