Hello All,
We are facing issue while applying the retention policy on the documents , when apsect is attahched to the objects.
1.Retention Policy : Folder retention policy, when documents are linked to this folder will have containing folder retention policy i.e. OOTB retention policy.
2. Aspect : Used to change the ACL of the document object when moved from one folder location to another.
Working fine except one scenario where we perform Link operation for documents to retention folder , we get following ERROR.
DfException:: THREAD: http-0.0.0.0-8084-1; MSG: Could not promote the object 09019641800822ec from Publish to null; override : false; ERRORCODE: ff; NEXT: null in Process Template: 'Document Review Approval Process' - Activity: 'Promote Document to Retain'.
Workitem: '4a0196418000611c'
Workflow: 'Document Review Approval Process 2012-03-29' - '4d01964180005503'
Activity: 'Promote Document to Retain' - '4c0196418004cc73'
Process: 'Document Review Approval Process' - '4b0196418004cc68'
java.lang.Exception: DfException:: THREAD: http-0.0.0.0-8084-1; MSG: Could not promote the object 09019641800822ec from Publish to null; override : false; ERRORCODE: ff; NEXT: null
at com.documentum.bps.outbound.AbstractService.execute(AbstractService.java:98)
at com.documentum.bpm.services.BPSIntegrationFramework.executeService(BPSIntegrationFramework.java:252)
at com.documentum.bpm.services.BPSIntegrationFramework.executeMethod(BPSIntegrationFramework.java:84)
at com.documentum.bpm.services.BPSIntegrationMethod.executeMethod(BPSIntegrationMethod.java:26)
at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:124)
at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:65)
at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source)
at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)
at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:736)
Caused by: DfException:: THREAD: http-0.0.0.0-8084-1; MSG: Could not promote the object 09019641800822ec from Publish to null; override : false; ERRORCODE: ff; NEXT: null
at com.documentum.bps.lifecycle.outbound.LifecycleUtils.promote(LifecycleUtils.java:88)
at com.documentum.bps.lifecycle.outbound.runtime.LifecycleService.processLifecycleAction(LifecycleService.java:120)
at com.documentum.bps.lifecycle.outbound.runtime.LifecycleService.executeServiceOperation(LifecycleService.java:86)
at com.documentum.bps.outbound.AbstractService.executeServiceInternal(AbstractService.java:122)
at com.documentum.bps.outbound.AbstractService.execute(AbstractService.java:79)
... 29 more
Caused by: DfException:: THREAD: http-0.0.0.0-8084-1; MSG: [DM_POLICY_E_ERROR_0010]error: "BP transition script error. Details:Error saving the sysobject: [DM_API_E_BADID]error: "Bad ID given: /Retained Documents/Retain for 6 years""; ERRORCODE: 100; NEXT: null
at com.documentum.fc.client.impl.docbase.DocbaseExceptionMapper.newException(DocbaseExceptionMapper.java:57)
at com.documentum.fc.client.impl.connection.docbase.MessageEntry.getException(MessageEntry.java:39)
at com.documentum.fc.client.impl.connection.docbase.DocbaseMessageManager.getException(DocbaseMessageManager.java:137)
at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.checkForMessages(NetwiseDocbaseRpcClient.java:310)
at com.documentum.fc.client.impl.connection.docbase.netwise.NetwiseDocbaseRpcClient.applyForBool(NetwiseDocbaseRpcClient.java:354)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection$1.evaluate(DocbaseConnection.java:1118)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.evaluateRpc(DocbaseConnection.java:1056)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.applyForBool(DocbaseConnection.java:1111)
at com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.apply(DocbaseConnection.java:1096)
at com.documentum.fc.client.impl.docbase.DocbaseApi.sysObjectPromote(DocbaseApi.java:335)
at com.documentum.fc.client.DfSysObject.doPromote(DfSysObject.java:2425)
at com.tw.securityacl.SecurityACLMoveDocsAspect.doPromote(SecurityACLMoveDocsAspect.java:47)
at com.documentum.fc.client.DfSysObject.promote(DfSysObject.java:2414)
at com.tw.securityacl.SecurityACLMoveDocsAspect___PROXY.promote(SecurityACLMoveDocsAspect___PROXY.java)
at com.documentum.bps.lifecycle.outbound.LifecycleUtils.promote(LifecycleUtils.java:82)
... 33 more
JAVA_METHOD_SERVER INFO : user: wami_dev1 session id: 010196418000000c method: BPSIntegration URL: http://ecmud05:8084/bpm/servlet/DoMethod.
Check the Java Method Server log for errors.
I am attaching Source code of Aspect , Can some one provide pointer what can be done to resolve above error ?