D2 Failed to Change Life cycle state in workflow method

I have added auto activity method D2WFLifeCycleMethode in workflow and configured in D2-Config. Workflow is running without any error but unable to change LifeCycle state and error is "Failed to change cycle state & Task Rejected".

Comments

  • Is the method configured to run as server? This might be a permissions issue in that the user doesn't have permissions to promote the document.

  • The method is run on the JMS and there typically is an error message indicating the reason for the failed transition. Check the JMS logs and/or enable debugging via logback.xml to get more verbose errors.

    Syed Haque
    Sr Architect, Consulting Services
    OpenText

  • Kishore_NimmalaKishore_Nimmala Documentum Developer

    In JMS the Error was
    com.emc.d2.api.config.modules.lifecycle.D2LifecycleManager - Check transitivity OFF.

    2019-12-03 10:42:14,016 INFO [stdout] (default task-62) 10:42:14.015 [default task-62] ERROR com.emc.d2.api.config.modules.lifecycle.D2LifecycleManager - {}

    2019-12-03 10:42:14,016 INFO [stdout] (default task-62) com.documentum.fc.common.DfException: The D2 Application Server must be registered as a privileged DFC client. Please contact your administrator.

    2019-12-03 10:42:14,016 INFO [stdout] (default task-62) at com.emc.common.java.utils.D2CoreBofServicesUtil.getPriviledgedTicket(D2CoreBofServicesUtil.java:47)

    2019-12-03 10:42:14,016 INFO [stdout] (default task-62) at com.emc.d2.api.D2Session.getAdminTicket(D2Session.java:563)

    2019-12-03 10:42:14,016 INFO [stdout] (default task-62) at com.emc.d2.api.D2Session.getAdminSession(D2Session.java:593)

    2019-12-03 10:42:14,016 INFO [stdout] (default task-62) at com.emc.d2.api.config.modules.lifecycle.D2LifecycleManager.applyByMethod(D2LifecycleManager.java:891)

    2019-12-03 10:42:14,016 INFO [stdout] (default task-62) at com.emc.d2.api.methods.D2WFLifeCycleMethod.bApplyD2LifeCycleActions(D2WFLifeCycleMethod.java:157)

    2019-12-03 10:42:14,016 INFO [stdout] (default task-62) at com.emc.d2.api.methods.D2WFLifeCycleMethod.execute(D2WFLifeCycleMethod.java:332)

    2019-12-03 10:42:14,016 INFO [stdout] (default task-62) at com.emc.d2.api.methods.D2Method.callExecute(D2Method.java:959)

    2019-12-03 10:42:14,016 INFO [stdout] (default task-62) at com.emc.d2.api.methods.D2Method.main(D2Method.java:1237)

    2019-12-03 10:42:14,016 INFO [stdout] (default task-62) at com.emc.d2.api.methods.D2Method.execute(D2Method.java:1287)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

    2019-12-03 10:42:14,017 INFO [stdout] (default task-62) at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)

    2019-12-03 10:42:14,018 INFO [stdout] (default task-62) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

    2019-12-03 10:42:14,019 INFO [stdout] (default task-62) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

  • Kishore_NimmalaKishore_Nimmala Documentum Developer

    Caused by: com.documentum.fc.common.DfException: [DM_API_E_QUERY_FAIL]error: "Query failed: select r_object_id from dm_group where group_name = 'd2_privileged_users'"

  • Actually, the issue is this: "The D2 Application Server must be registered as a privileged DFC client. Please contact your administrator."

    Goto to DA, under Client Rights Management->Privileged Clients, find ALL the clients that are coming from D2 App Server and then right mouse click to Approve Privilege.

  • Kishore_NimmalaKishore_Nimmala Documentum Developer
    It's there
  • Kishore_NimmalaKishore_Nimmala Documentum Developer
    > @Kishore_Nimmala said:
    > It's there
    Removed and added in privileged clients but the error was same
  • There is typically more than one session. Look for all of them or just approve all of them.

  • sort by server name and add all clients belonging to the CS. Is this HA or primary CS?

    Syed Haque
    Sr Architect, Consulting Services
    OpenText

Sign In or Register to comment.