As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I have the following Automation Chain:
I want to cancel this workflow, but I've got the following error:
Not allowed to follow transition from state ... Caused by: org.nuxeo.ecm.core.api.ClientException: Unable to follow transition for document : aad41be2-cca4-4e02-9342-becce2c22333 ___ at org.nuxeo.ecm.core.api.AbstractSession.followTransition(AbstractSession.java:2774)___ ___ at org.nuxeo.ecm.core.api.impl.DocumentModelImpl$7.run(DocumentModelImpl.java:1023)___ ___ at org.nuxeo.ecm.core.api.impl.DocumentModelImpl$7.run(DocumentModelImpl.java:1020)___ ___ at org.nuxeo.ecm.core.api.impl.DocumentModelImpl$RunWithCoreSession.execute(DocumentModelImpl.java:427)___ ___ at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.followTransition(DocumentModelImpl.java:1020)___ ___ at org.nuxeo.ecm.platform.routing.core.impl.GraphNodeImpl.setState(GraphNodeImpl.java:173)___ ___ ... 160 more___ Caused by: org.nuxeo.ecm.core.lifecycle.LifeCycleException: Not allowed to follow transition from state ___ at org.nuxeo.ecm.core.lifecycle.impl.LifeCycleServiceImpl.followTransition(LifeCycleServiceImpl.java:138)___ ___ at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.followTransition(SQLDocumentLive.java:326)___ ___ at org.nuxeo.ecm.core.api.AbstractSession.followTransition(AbstractSession.java:2745)___ ___ ... 165 more___ securityError : false org.jboss.seam.faces.validation : org.jboss.seam.faces.Validation@5b9649f1 org.jboss.seam.transaction.synchronizations : org.jboss.seam.transaction.SeSynchronizations@67d09c30 org.jboss.seam.web.requestContextPath : /nuxeo btn_action : done org.nuxeo.ecm.platform.ui.web.binding.alias.AliasVariableMapper_MARKER : {} nuxeo.disable.redirect.wrapper : true org.jboss.seam.core.conversationPropagation : org.jboss.seam.core.ConversationPropagation@30be488f userManager : org.nuxeo.ecm.platform.computedgroups.UserManagerWithComputedGroups@5b91d2b3 org.ajax4jsf.application.AjaxStateManager.AJAX_VIEW_SEQUENCE : j_id7 currentServerLocation : org.nuxeo.ecm.platform.util.RepositoryLocation@5c13d641 user_message : ocorreu um erro inesperado currentDocument : DocumentModelImpl(3acc11a2-34db-45bd-a146-b5447d79a90c, path=/default-domain/media-container/Deletar, title=Deletar) NuxeoExceptionHandlerMarker : true org.jboss.seam.transaction.transaction : org.jboss.seam.transaction.Transaction@1c8dbd49 lockActions : org.nuxeo.ecm.webapp.edit.lock.LockActionsBean@1d861244 exception_message : Not allowed to follow transition from state org.jboss.seam.web.servletContexts : org.jboss.seam.web.ServletContexts@4d193d80 org.jboss.seam.web.requestServletPath : /view_documents.faces org.jboss.seam.core.events : org.jboss.seam.core.Events@3414c60b
Not allowed to follow transition from state ... Caused by: org.nuxeo.ecm.core.api.ClientException: Unable to follow transition for document : aad41be2-cca4-4e02-9342-becce2c22333 ___ at org.nuxeo.ecm.core.api.AbstractSession.followTransition(AbstractSession.java:2774)___ ___ at org.nuxeo.ecm.core.api.impl.DocumentModelImpl$7.run(DocumentModelImpl.java:1023)___ ___ at org.nuxeo.ecm.core.api.impl.DocumentModelImpl$7.run(DocumentModelImpl.java:1020)___ ___ at org.nuxeo.ecm.core.api.impl.DocumentModelImpl$RunWithCoreSession.execute(DocumentModelImpl.java:427)___ ___ at org.nuxeo.ecm.core.api.impl.DocumentModelImpl.followTransition(DocumentModelImpl.java:1020)___ ___ at org.nuxeo.ecm.platform.routing.core.impl.GraphNodeImpl.setState(GraphNodeImpl.java:173)___ ___ ... 160 more___ Caused by: org.nuxeo.ecm.core.lifecycle.LifeCycleException: Not allowed to follow transition from state ___ at org.nuxeo.ecm.core.lifecycle.impl.LifeCycleServiceImpl.followTransition(LifeCycleServiceImpl.java:138)___ ___ at org.nuxeo.ecm.core.storage.sql.coremodel.SQLDocumentLive.followTransition(SQLDocumentLive.java:326)___ ___ at org.nuxeo.ecm.core.api.AbstractSession.followTransition(AbstractSession.java:2745)___ ___ ... 165 more___
securityError : false org.jboss.seam.faces.validation : org.jboss.seam.faces.Validation@5b9649f1 org.jboss.seam.transaction.synchronizations : org.jboss.seam.transaction.SeSynchronizations@67d09c30 org.jboss.seam.web.requestContextPath : /nuxeo btn_action : done org.nuxeo.ecm.platform.ui.web.binding.alias.AliasVariableMapper_MARKER : {} nuxeo.disable.redirect.wrapper : true org.jboss.seam.core.conversationPropagation : org.jboss.seam.core.ConversationPropagation@30be488f userManager : org.nuxeo.ecm.platform.computedgroups.UserManagerWithComputedGroups@5b91d2b3 org.ajax4jsf.application.AjaxStateManager.AJAX_VIEW_SEQUENCE : j_id7 currentServerLocation : org.nuxeo.ecm.platform.util.RepositoryLocation@5c13d641 user_message : ocorreu um erro inesperado currentDocument : DocumentModelImpl(3acc11a2-34db-45bd-a146-b5447d79a90c, path=/default-domain/media-container/Deletar, title=Deletar) NuxeoExceptionHandlerMarker : true org.jboss.seam.transaction.transaction : org.jboss.seam.transaction.Transaction@1c8dbd49 lockActions : org.nuxeo.ecm.webapp.edit.lock.LockActionsBean@1d861244 exception_message : Not allowed to follow transition from state org.jboss.seam.web.servletContexts : org.jboss.seam.web.ServletContexts@4d193d80 org.jboss.seam.web.requestServletPath : /view_documents.faces org.jboss.seam.core.events : org.jboss.seam.core.Events@3414c60b
Hello Sergio,
Yes, this Automation Chain was called by a workflow node (the first node).