<?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: Undeploy a Process Definition in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78351#M51979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why not use the Workflow Console from Alfresco itself? It now has the undeploy functionality the original post was complaining about.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I have no other suggestion, Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Dec 2007 08:59:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-12-14T08:59:15Z</dc:date>
    <item>
      <title>Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78344#M51972</link>
      <description>Hi there !A fairly simple question : how can an administrator delete a Workflow Definition once it has been deployed ? I haven't seen any command to do that through the Workflow Console (although you can delete all the instances of a workflow definition), and I end up with an (obsolete) test definit</description>
      <pubDate>Fri, 03 Nov 2006 16:22:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78344#M51972</guid>
      <dc:creator>rand</dc:creator>
      <dc:date>2006-11-03T16:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78345#M51973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh that's annoying.&amp;nbsp; Undeploy has been left out of the Workflow Console by mistake.&amp;nbsp; I thought I'd added that one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll raise a JIRA issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't know if you want to dive into Java, but there is a WorkflowService.undeployDefinition() method that can be called.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A sneaky workaround might be to install the JBoss jBPM starterkit, point it at the Alfresco database, and use its web console to undeploy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for the Workflow forum, others have asked too, so I think it's time to add one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 16:41:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78345#M51973</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2006-11-03T16:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78346#M51974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="http://issues.alfresco.com/browse/AR-1072" rel="nofollow noopener noreferrer"&gt;http://issues.alfresco.com/browse/AR-1072&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2006 17:03:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78346#M51974</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2006-11-03T17:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78347#M51975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the answer and the JIRA issue, the workaround will do allright in my case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rand&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 08:32:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78347#M51975</guid>
      <dc:creator>rand</dc:creator>
      <dc:date>2006-11-06T08:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78348#M51976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Quite an old post now, but i tried to plug the jbpm-console webapp on the JBPM tables used by Alfresco but when I try to login to the web app, a login / password is required. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anybody has an idea about the login / password that can be used ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding Jira AR-1072, what is the undeploy command syntax ? It does not appear in the command list returned by the workflow console help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Dec 2007 18:12:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78348#M51976</guid>
      <dc:creator>pcuvecle</dc:creator>
      <dc:date>2007-12-13T18:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78349#M51977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try the "admin" account!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgrds, Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 07:56:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78349#M51977</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-12-14T07:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78350#M51978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It does not work with the admin account (I try to logon to the jbpm-console webapp not the alfresco one)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 08:56:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78350#M51978</guid>
      <dc:creator>pcuvecle</dc:creator>
      <dc:date>2007-12-14T08:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78351#M51979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why not use the Workflow Console from Alfresco itself? It now has the undeploy functionality the original post was complaining about.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I have no other suggestion, Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 08:59:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78351#M51979</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-12-14T08:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78352#M51980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure it would be easier&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But i've been unable to figure out how to use the undeploy function from the workflow console (not in the help command list)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In another hand I wanted to have a look at the jbpm workflow console features to see if there are some usefull stuff that could help manage Alfresco workflows more easily&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 09:11:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78352#M51980</guid>
      <dc:creator>pcuvecle</dc:creator>
      <dc:date>2007-12-14T09:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78353#M51981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Take a look at: &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Workflow_Console" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Workflow_Console&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;The "undeploy" command is described here. Be aware that when you undeploy the latest definition the previous definition becomes active and so on. According the WIKI starting with version 2.1 all definitions can be undeployed at once (I did not try that one yet).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use "show definitions" to look up the definition ID needed to undeploy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Be also aware that as long as you automatically deploy on starting Alfresco your workflow will re-appear.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgrds, Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 09:20:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78353#M51981</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-12-14T09:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78354#M51982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the link, the help page included in Alfresco is not up to date.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I managed to undeploy 1 workflow definition but for another one it fails with a constraint violation error :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;java.sql.BatchUpdateException: Cannot delete or update a parent row: a foreign key constraint fails (`alfresco/JBPM_TRANSITION`, CONSTRAINT `FK_TRANS_PROCDEF` FOREIGN KEY (`PROCESSDEFINITION_`) REFERENCES `JBPM_PROCESSDEFINITION` (`ID_`))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had no running workflows of any type of definition when I ran this undeploy command&amp;nbsp; :?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 10:04:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78354#M51982</guid>
      <dc:creator>pcuvecle</dc:creator>
      <dc:date>2007-12-14T10:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78355#M51983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That sounds familiair. For some reasons sometimes the database seems to become corrupt with respect to the workflow definitions. Could not figure this one out myself…. If you are in a test environment you could delete all by restarting Alfresco with a new (read empty) database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For this purpose I created a backup of the database after I initiated all users I needed in my test environment and all Spaces that are always required.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, somehow you can not come around this one as far as I know. Did not put it in Jira yet since I was not sure whether it was caused by my doing or by Alfresco. But since you have the same problem it is no longer an incident.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you try the "undeploy definition name &amp;lt;workflowName&amp;gt;" version to undeploy all at once and did it has the same result?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgrds, Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 10:13:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78355#M51983</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-12-14T10:13:00Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78356#M51984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Did you try the "undeploy definition name &amp;lt;workflowName&amp;gt;" version to undeploy all at once and did it has the same result?&lt;BR /&gt;Rgrds, Rob&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I tried with &lt;/SPAN&gt;&lt;EM&gt;undeploy definition name &amp;lt;workflowName&amp;gt;&lt;/EM&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;EM&gt;undeploy definition &amp;lt;workflowId&amp;gt;&lt;/EM&gt;&lt;SPAN&gt; on the last version and i get the same result for both.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 11:20:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78356#M51984</guid>
      <dc:creator>pcuvecle</dc:creator>
      <dc:date>2007-12-14T11:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: Undeploy a Process Definition</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78357#M51985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So this seems to be some bug in the way that the definitions are handled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Wonder whether some Alfresco engineer is reaing this thread… &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since it is hard to predict what and when things go wrong it is hard to put it in an issue to be solved…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Dec 2007 15:42:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/undeploy-a-process-definition/m-p/78357#M51985</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-12-16T15:42:05Z</dc:date>
    </item>
  </channel>
</rss>

