Home
TeamSite
Problem Adding attachment to Workflow Process
nams
Hi All,
I am getting an error in addAttachment() method of the workflow process.
The situation is like this:
User creates a workflow process manually.
From an OR node of the workflow, I am calling a helper class and then I am trying to attach a folder to the process.
I am getting the following error.
Does anybody know if we can add the attachment from the helper class? if yes, which is the correct way to do that?
Thanks in advance,
Namita
com.imanage.cms.fc.cmsifc.CMSClientInterfaceBase.executeMessage(CMSClientInterfaceBase.java:320)
com.imanage.cms.fc.cmsifc.CMSClientInterfaceBase.createAndexecuteCompositeMethod(CMSClientInterfaceBase.java:4058)
com.imanage.cms.fc.cmsifc.CMSClientInterfaceBase.executeCompositeMethod(CMSClientInterfaceBase.java:4015)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.imanage.cms.fc.cmsconnection.ClientInterfaceProxy.invoke(ClientInterfaceProxy.java:148)
$Proxy0.executeCompositeMethod(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.imanage.cms.fc.cmsconnection.SingleMethodInvoker.invokeClientInterfaceVirtualMethod(ClientInterfaceVirtualProxy.java:285)
com.imanage.cms.fc.cmsconnection.VirtualMethodInvoker.invokeMethod(VirtualMethodInvoker.java:72)
com.imanage.cms.fc.cmsconnection.ClientInterfaceVirtualProxy.invokeSingleMethod(ClientInterfaceVirtualProxy.java:150)
com.imanage.cms.fc.cmsconnection.ClientInterfaceVirtualProxy.invoke(ClientInterfaceVirtualProxy.java:106)
$Proxy0.executeCompositeMethod(Unknown Source)
com.imanage.cms.t2.jom.impl.LibraryImpl.customCall(LibraryImpl.java:1922)
com.imanage.cms.api.workteam.impl.WorkflowProcessImpl.addAttachment(WorkflowProcessImpl.java:481)
com.imanage.cms.api.workteam.impl.WorkflowProcessImpl.addAttachment(WorkflowProcessImpl.java:469)
com.bcs.outdoorcap.ControlNumberExtension.doExecute(ControlNumberExtension.java:218)
com.imanage.cms.t2.workflow.engine.javascripthelper.JavaScriptHelperBase.actualExecute(JavaScriptHelperBase.java:86)
com.imanage.cms.t2.workflow.engine.javascripthelper.JavaScriptHelperBase.execute(JavaScriptHelperBase.java:19)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:230)
org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1191)
org.mozilla.javascript.gen.c67.call(Activity Epilogue Script:3)
org.mozilla.javascript.gen.c67.exec(Activity Epilogue Script)
org.mozilla.javascript.Context.evaluateReader(Context.java:820)
org.mozilla.javascript.Context.evaluateString(Context.java:784)
com.fujitsu.iflow.server.impl.JavaScriptUtil.evaluateScript(JavaScriptUtil.java:265)
com.fujitsu.iflow.server.impl.ServerEnactmentContextImpl.evaluateScript(ServerEnactmentContextImpl.java:1004)
com.fujitsu.iflow.server.impl.metamodel.AndSplit.handleEvent(AndSplit.java:121)
com.fujitsu.iflow.server.impl.metamodel.Twf30.handleEvent(Twf30.java:422)
com.fujitsu.iflow.server.impl.wfengine.TWFEventDispatcher.run(TWFEventDispatcher.java:153)
java.lang.Thread.run(Unknown Source)
Find more posts tagged with
Comments
Migrateduser
I guess the exception stack trace given below is not complete. Did you miss the top portion? There might be some useful text message at the top. Can you please provide the entire exception and other stdout messages in a text file?