<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to abandon a Workflow using an Automation Chain in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-abandon-a-workflow-using-an-automation-chain/m-p/317335#M4336</link>
    <description>&lt;P&gt;Hello Sergio,&lt;/P&gt;</description>
    <pubDate>Wed, 05 Mar 2014 10:58:04 GMT</pubDate>
    <dc:creator>Vladimir_Pasqui</dc:creator>
    <dc:date>2014-03-05T10:58:04Z</dc:date>
    <item>
      <title>How to abandon a Workflow using an Automation Chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-abandon-a-workflow-using-an-automation-chain/m-p/317334#M4335</link>
      <description>&lt;P&gt;I have the following Automation Chain:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Fetch -&amp;gt; Context documents&lt;/LI&gt;
&lt;LI&gt;Execution Flow -&amp;gt; Run Chain
| id = @{Document["dcns-common:comments"] == empty ? "WF_Show_Warning_Chain" : "WF_Do_Something_Chain"}&lt;/LI&gt;
&lt;LI&gt;Workflow Context -&amp;gt; Cancel Workflow
| id = @{workflowInstanceId}&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;I want to cancel this workflow, but I've got the following error:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Not allowed to follow transition from state&lt;/STRONG&gt;&lt;/EM&gt;
...
&lt;EM&gt;&lt;STRONG&gt;Caused by: org.nuxeo.ecm.core.api.ClientException: Unable to follow transition &lt;TOSUSPENDED&gt; for document : aad41be2-cca4-4e02-9342-becce2c22333&lt;/TOSUSPENDED&gt;&lt;/STRONG&gt;&lt;/EM&gt;
___	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___
&lt;EM&gt;&lt;STRONG&gt;Caused by: org.nuxeo.ecm.core.lifecycle.LifeCycleException: Not allowed to follow transition &lt;TOSUSPENDED&gt; from state &lt;CANCELED&gt;&lt;/CANCELED&gt;&lt;/TOSUSPENDED&gt;&lt;/STRONG&gt;&lt;/EM&gt;
___	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___&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;securityError : false&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;org.jboss.seam.faces.validation : org.jboss.seam.faces.Validation@5b9649f1&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;org.jboss.seam.transaction.synchronizations : org.jboss.seam.transaction.SeSynchronizations@67d09c30&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;org.jboss.seam.web.requestContextPath : /nuxeo&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;btn_action : done&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;org.nuxeo.ecm.platform.ui.web.binding.alias.AliasVariableMapper_MARKER : {}&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;nuxeo.disable.redirect.wrapper : true&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;org.jboss.seam.core.conversationPropagation : org.jboss.seam.core.ConversationPropagation@30be488f&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;userManager : org.nuxeo.ecm.platform.computedgroups.UserManagerWithComputedGroups@5b91d2b3&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;org.ajax4jsf.application.AjaxStateManager.AJAX_VIEW_SEQUENCE : j_id7&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;currentServerLocation : org.nuxeo.ecm.platform.util.RepositoryLocation@5c13d641&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;user_message : ocorreu um erro inesperado&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;currentDocument : DocumentModelImpl(3acc11a2-34db-45bd-a146-b5447d79a90c, path=/default-domain/media-container/Deletar, title=Deletar)&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;NuxeoExceptionHandlerMarker : true&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;org.jboss.seam.transaction.transaction : org.jboss.seam.transaction.Transaction@1c8dbd49&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;lockActions : org.nuxeo.ecm.webapp.edit.lock.LockActionsBean@1d861244&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;exception_message : Not allowed to follow transition &lt;TOSUSPENDED&gt; from state &lt;CANCELED&gt;&lt;/CANCELED&gt;&lt;/TOSUSPENDED&gt;&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;org.jboss.seam.web.servletContexts : org.jboss.seam.web.ServletContexts@4d193d80&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;org.jboss.seam.web.requestServletPath : /view_documents.faces&lt;/STRONG&gt;&lt;/EM&gt;
&lt;EM&gt;&lt;STRONG&gt;org.jboss.seam.core.events : org.jboss.seam.core.Events@3414c60b&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 05 Mar 2014 00:33:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-abandon-a-workflow-using-an-automation-chain/m-p/317334#M4335</guid>
      <dc:creator>SergioFerreira_</dc:creator>
      <dc:date>2014-03-05T00:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to abandon a Workflow using an Automation Chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-abandon-a-workflow-using-an-automation-chain/m-p/317335#M4336</link>
      <description>&lt;P&gt;Hello Sergio,&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 10:58:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-abandon-a-workflow-using-an-automation-chain/m-p/317335#M4336</guid>
      <dc:creator>Vladimir_Pasqui</dc:creator>
      <dc:date>2014-03-05T10:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to abandon a Workflow using an Automation Chain</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-abandon-a-workflow-using-an-automation-chain/m-p/317336#M4337</link>
      <description>&lt;P&gt;Yes, this Automation Chain was called by a workflow node (the first node).&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 11:21:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-abandon-a-workflow-using-an-automation-chain/m-p/317336#M4337</guid>
      <dc:creator>SergioFerreira_</dc:creator>
      <dc:date>2014-03-05T11:21:55Z</dc:date>
    </item>
  </channel>
</rss>

