Home Documentum

D2 Workflow error

Hi,
While trying to start the workflow in d2, I'm facing an error stated in the screenshot. Can anyone help me with this.?

Thanks,
Ganesh

Comments

  • Did you confirm that your workflow is installed?

  • edited May 20, 2019

    Yes, my workflow is installed and is working fine in the DA. It is not working in the D2 only. Can you help me with this?

  • Validate that the user has at least RELATE permissions on the workflow template.

  • Yes, the user has sufficient permissions to start the workflow.

  • What does the app server log says with error?

  • edited May 22, 2019

    please find the error log below

    D2WorkflowLaunchDialog
    2019-05-21 19:17:34 [INFO ] [http-nio-6060-exec-19] - c.e.d2fs.dctm.workflow.D2WorkflowLaunch : Launch workflow for config :D2 test Sample
    2019-05-21 19:17:34 [INFO ] [http-nio-6060-exec-19] - c.e.d2fs.dctm.workflow.D2WorkflowLaunch : Launch workflow for document : [0901b207800139a3]
    2019-05-21 19:17:34 [INFO ] [http-nio-6060-exec-19] - c.e.d2fs.dctm.workflow.D2WorkflowLaunch : Workflow tracker name :D2 test Sample May 21, 2019
    2019-05-21 19:17:34 [INFO ] [http-nio-6060-exec-19] - c.e.d2fs.dctm.workflow.D2WorkflowLaunch : Workflow process :NewSampleD2
    2019-05-21 19:17:34 [INFO ] [http-nio-6060-exec-19] - c.e.d2fs.dctm.workflow.D2WorkflowLaunch : Creating workflow tracker...
    2019-05-21 19:17:35 [INFO ] [http-nio-6060-exec-19] - c.e.d.a.c.d.D2DocumentSetSwitch : D2DocumentSetSwitch.getDocumentSetList end: 0.017s
    2019-05-21 19:17:36 [ERROR] [http-nio-6060-exec-19] - c.e.d.dctm.aspects.InjectSessionAspect : {}
    com.documentum.fc.common.DfException:
    at com.emc.d2.api.methods.D2Method.start(D2Method.java:531)
    at com.emc.d2.api.methods.D2Method.start(D2Method.java:298)
    at com.emc.d2.api.methods.D2Method.start(D2Method.java:238)
    at com.emc.d2.api.workflows.D2cWorkflowTracker.save(D2cWorkflowTracker.java:1905)
    at com.emc.d2.api.workflows.D2cWorkflowTracker___PROXY.save(D2cWorkflowTracker___PROXY.java)
    at com.emc.d2.api.workflows.D2cWorkflowTracker.newObject(D2cWorkflowTracker.java:827)
    at com.emc.d2fs.dctm.workflow.D2WorkflowLaunch.process(D2WorkflowLaunch.java:199)
    at com.emc.d2fs.dctm.dialogs.d2workflows.D2WorkflowLaunchDialog.validDialog(D2WorkflowLaunchDialog.java:314)
    at com.emc.d2fs.dctm.web.services.dialog.D2DialogService.validDialog_aroundBody2(D2DialogService.java:231)
    at com.emc.d2fs.dctm.web.services.dialog.D2DialogService$AjcClosure3.run(D2DialogService.java:1)
    at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:221)
    at com.emc.d2fs.dctm.aspects.InjectSessionAspect.process(InjectSessionAspect.java:231)
    at com.emc.d2fs.dctm.web.services.dialog.D2DialogService.validDialog(D2DialogService.java:178)
    at com.emc.x3.portal.server.service.dialog.RpcDialogServiceImpl.validDialog(RpcDialogServiceImpl.java:94)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)
    at com.emc.x3.server.GuiceRemoteServiceServlet.processCall(GuiceRemoteServiceServlet.java:105)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
    at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
    at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
    at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
    at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
    at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
    at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
    at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
    at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
    at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
    at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
    at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at com.emc.x3.portal.server.filters.X3SessionTimeoutFilter.doFilter(X3SessionTimeoutFilter.java:40)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1132)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1533)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1489)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Unknown Source)

  • Looks like error is around this: Creating workflow tracker... D2DocumentSetSwitch.getDocumentSetList.

    Did you configure WF to require a document and not attached one?

  • edited May 22, 2019

    No, we didn't configure WF to any particular document.

  • What happens if you click on Documents tab and add a document? Do you still get the same error when you click Send button?

  • Yes, I'm facing the same issue. While trying to click the send button. Please find the screenshot for your reference

    .

  • Hi Experts,

    I am also facing similar issue where i am getting error while initializing workflow from D2.

    Below is the screenshot of the error.

    PS: 1) workflow is configured and installed successfully.
    2) Workflow object has relate permission given to world.
    3) D2-Configs for workflow has been tagged (in the matrix) against a context which is DQL based context. The condition for the context is test_kyc_master_type='KYC Subject' (the similar condition which is visible in the screenshot below).

    Can someone please suggest what could be the issue? or where to look into for troubleshooting??

  • So when you run this query in DA, do you see any results? Your condition may not be valid based on criteria you configured (i.e. the type could be different case then value you provided).

  • I have below configuration for each item in D2-Config
    1) Context 1 -> configured with custom group. (This is my main context while importing the document/creating the new document)
    2) Context 2 -> configured against custom document type and default attribute subject='KYC Subject' (my bad i mentioned test_kyc_master_type='KYC Subject' in my previous post) (This context is used while viewing the properties of the document and other functionality)
    2) Workflow and lifecycle configured as usual.
    3) Workflow and lifecyle configured in step 2 -> added in the creation profile
    4) Workflow and lifecyle checked in the Matrix against context from step 1.

    Anything am i doing incorrect here? OR any more configs am i missing here?

Sign In or Register to comment.