<?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: hi, i tried to undeploy a workflow using 'undeploy definition&amp;lt;definitionid&amp;gt;' and it shows the following error message:        in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/hi-i-tried-to-undeploy-a-workflow-using-undeploy-definition-lt/m-p/27448#M11776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can&amp;nbsp;execute the following commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;use definition [&amp;lt;workflowDefId&amp;gt;]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This will make the specif definition the "current" one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use this to list all the instances for the current process definition:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;show workflows&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And finally, using the instances IDs, you can execute:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;delete workflow &amp;lt;workflowId&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More on the topic can be found at&amp;nbsp;&lt;A __default_attr="5079" __jive_macro_name="document" _jive_internal="true" class="jive_macro jive_macro_document link-titled" href="https://community.alfresco.com/docs/DOC-5079-workflow-console" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Sep 2017 01:09:43 GMT</pubDate>
    <dc:creator>douglascrp</dc:creator>
    <dc:date>2017-09-09T01:09:43Z</dc:date>
    <item>
      <title>hi, i tried to undeploy a workflow using 'undeploy definition&lt;definitionid&gt;' and it shows the following error message:</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/hi-i-tried-to-undeploy-a-workflow-using-undeploy-definition-lt/m-p/27445#M11773</link>
      <description>org.apache.ibatis.exceptions.PersistenceException:&amp;nbsp; ### Error updating database.&amp;nbsp; Cause: org.postgresql.util.PSQLException: ERROR: update or delete on table "act_re_procdef" violates foreign key constraint "act_fk_exe_procdef" on table "act_ru_execution"&amp;nbsp;&amp;nbsp; Detail: Key (id_)=(fredy1:1:2112) is still</description>
      <pubDate>Wed, 06 Sep 2017 14:49:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/hi-i-tried-to-undeploy-a-workflow-using-undeploy-definition-lt/m-p/27445#M11773</guid>
      <dc:creator>klotilda</dc:creator>
      <dc:date>2017-09-06T14:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: hi, i tried to undeploy a workflow using 'undeploy definition&lt;definitionid&gt;' and it shows the following error message:</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/hi-i-tried-to-undeploy-a-workflow-using-undeploy-definition-lt/m-p/27446#M11774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it seems you still have some instances of that workflow being executed.&lt;/P&gt;&lt;P&gt;If you want to undeploy it, you need to delete the workflow instances before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can do this with the following command:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #24292e; background-color: #ffffff;"&gt;delete all workflows imeanit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #ffffff; color: #24292e;"&gt;But be careful with it, as it will delete ALL the instances, for ALL the process definitions.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 18:16:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/hi-i-tried-to-undeploy-a-workflow-using-undeploy-definition-lt/m-p/27446#M11774</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-09-06T18:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: hi, i tried to undeploy a workflow using 'undeploy definition&lt;definitionid&gt;' and it shows the following error message:</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/hi-i-tried-to-undeploy-a-workflow-using-undeploy-definition-lt/m-p/27447#M11775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there a way to delete only the instances of a certain workflow, not all of them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Sep 2017 19:05:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/hi-i-tried-to-undeploy-a-workflow-using-undeploy-definition-lt/m-p/27447#M11775</guid>
      <dc:creator>klotilda</dc:creator>
      <dc:date>2017-09-06T19:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: hi, i tried to undeploy a workflow using 'undeploy definition&lt;definitionid&gt;' and it shows the following error message:       </title>
      <link>https://connect.hyland.com/t5/alfresco-forum/hi-i-tried-to-undeploy-a-workflow-using-undeploy-definition-lt/m-p/27448#M11776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can&amp;nbsp;execute the following commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;use definition [&amp;lt;workflowDefId&amp;gt;]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This will make the specif definition the "current" one&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can use this to list all the instances for the current process definition:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;show workflows&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And finally, using the instances IDs, you can execute:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;delete workflow &amp;lt;workflowId&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More on the topic can be found at&amp;nbsp;&lt;A __default_attr="5079" __jive_macro_name="document" _jive_internal="true" class="jive_macro jive_macro_document link-titled" href="https://community.alfresco.com/docs/DOC-5079-workflow-console" rel="nofollow noopener noreferrer"&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Sep 2017 01:09:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/hi-i-tried-to-undeploy-a-workflow-using-undeploy-definition-lt/m-p/27448#M11776</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-09-09T01:09:43Z</dc:date>
    </item>
  </channel>
</rss>

