I am trying to use D2WFLifeCycleMethod method in workflow to promote document to next state in D2 lifecycle. I am getting the following error when I debug the process in Process Builder:
java.lang.RuntimeException: Class 'com.emc.d2.api.methods.D2Method -class_name com.emc.d2.api.methods.D2WFLifeCycleMethod' does not exist in custom or dba/java_methods directory or in docbase
at com.documentum.bpm.engine.utils.InvokeWfMethodService.getMethodObj(InvokeWfMethodService.java:171)
at com.documentum.bpm.engine.utils.InvokeWfMethodService.execute(InvokeWfMethodService.java:93)
at com.documentum.bpm.engine.model.activity.WorkflowMethodActivityTaskHandler.executeWorkitem(WorkflowMethodActivityTaskHandler.java:43)
at com.documentum.bpm.engine.runtime.AutomaticWorkitemHandler.executeService(AutomaticWorkitemHandler.java:256)
at com.documentum.bpm.engine.runtime.AutomaticWorkitemHandler.execute(AutomaticWorkitemHandler.java:119)
at com.documentum.bpm.engine.runtime.AutomaticWorkitemHandler.run(AutomaticWorkitemHandler.java:63)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Please let me know if anyone has a solution to this issue.