Workflow activity is not getting complete using dfc code
Santosh Jha
Member
I am using DFC code to complete manual wokflow activity but it is failing with below error. Please let me know which jar i need to add in classpath or i need to do anything else.
if(workitemEx.getRuntimeState()!=1)
workitemEx.acquire(); workitemEx.complete(); Error - java.lang.ClassNotFoundException: com.emc.xcp.artifact.model.artifact.DataModel
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[na:na]
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[na:na]
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[na:na]
at com.emc.xcp.runtime.engine.workflowRuntime.ActivityCache.loadProcessModelFromRepository(ActivityCache.java:136) ~[bpm-infra-23.4.0000.0095.jar:na]
at com.emc.xcp.runtime.engine.workflowRuntime.ActivityCache.getProcessModel(ActivityCache.java:87) ~[bpm-infra-23.4.0000.0095.jar:na]
at com.emc.xcp.runtime.engine.workflowRuntime.AbstractRuntimeWorkflowHandler.init(AbstractRuntimeWorkflowHandler.java:30) ~[bpm-infra-23.4.0000.0095.jar:na]
at com.emc.xcp.runtime.engine.workflowRuntime.RuntimeTaskCompleteHandler.<init>(RuntimeTaskCompleteHandler.java:22) ~[bpm-infra-23.4.0000.0095.jar:na]
at com.documentum.bpm.impl.WorkflowHandlerFactory.getTaskCompleteHandler(WorkflowHandlerFactory.java:16) ~[na:na]
at com.documentum.bpm.impl.DfWorkitemEx.invokeWitemCompleteRPC(DfWorkitemEx.java:291) ~[na:na]
at com.documentum.fc.client.DfWorkitem.completeEx2(DfWorkitem.java:505) ~[dfc-23.4.0000.jar:na]
at com.documentum.fc.client.DfWorkitem.completeEx(DfWorkitem.java:499) ~[dfc-23.4.0000.jar:na]
at com.documentum.fc.client.DfWorkitem.complete(DfWorkitem.java:493) ~[dfc-23.4.0000.jar:na]
at com.documentum.bpm.impl.DfWorkitemEx___PROXY.complete(DfWorkitemEx___PROXY.java) ~[na:na]
0
Comments
-
As the error says, a class is missing from the classpath. It looks like the class is in com.emc.xcp.artifactmanager.jar. You can find it under the bpm web application deployed to your Java Method Server (assuming you installed Process Engine properly). It's likely that you will need other jars as well (e.g. com.emc.xcp.common.jar). Just add them using trial and error until it works.
1 -
This issue resolved after adding dctm_infra_da.jar
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories