<?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: Activation,deactivation, enabling &amp; disabling of workflows in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activation-deactivation-enabling-disabling-of-workflows/m-p/265767#M218897</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not exactly sure about the behaivor that you want, but there is a console in alfresco manager to deploy and undeploy workflows, install new version, check workflow's instance, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Open a web browser and give this URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you type this command: show workflows all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll get the current instances of your workflows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you type: show definitions all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll get the current workflows definitions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can addremove a new definitions, create/delete instances, etc …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look this tutorial for Activiti created by Jeff Potts, I'm sure this is a great entry point to the basics: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/images/articles/alfresco-workflow/advanced-workflow-article-2ed.pdf" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-workflow/advanced-workflow-article-2ed.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2012 22:01:22 GMT</pubDate>
    <dc:creator>angello0571</dc:creator>
    <dc:date>2012-07-13T22:01:22Z</dc:date>
    <item>
      <title>Activation,deactivation, enabling &amp; disabling of workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activation-deactivation-enabling-disabling-of-workflows/m-p/265766#M218896</link>
      <description>Hi experts,Does Alfresco - activiti supports Activation,deactivation,disabling and enabling of workflow in alfresco 4 enterpise edition ?Activate : Once the workflow is activated by admin user, then only the user can start the workflow.Deactivate : Once the workflow is deactivated, then running work</description>
      <pubDate>Fri, 13 Jul 2012 05:06:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activation-deactivation-enabling-disabling-of-workflows/m-p/265766#M218896</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2012-07-13T05:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Activation,deactivation, enabling &amp; disabling of workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activation-deactivation-enabling-disabling-of-workflows/m-p/265767#M218897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not exactly sure about the behaivor that you want, but there is a console in alfresco manager to deploy and undeploy workflows, install new version, check workflow's instance, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Open a web browser and give this URL:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/faces/jsp/admin/workflow-console.jsp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you type this command: show workflows all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll get the current instances of your workflows.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you type: show definitions all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You'll get the current workflows definitions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can addremove a new definitions, create/delete instances, etc …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Look this tutorial for Activiti created by Jeff Potts, I'm sure this is a great entry point to the basics: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/images/articles/alfresco-workflow/advanced-workflow-article-2ed.pdf" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-workflow/advanced-workflow-article-2ed.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2012 22:01:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activation-deactivation-enabling-disabling-of-workflows/m-p/265767#M218897</guid>
      <dc:creator>angello0571</dc:creator>
      <dc:date>2012-07-13T22:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Activation,deactivation, enabling &amp; disabling of workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activation-deactivation-enabling-disabling-of-workflows/m-p/265768#M218898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm looking the behaviors of enable,disable,activation and deactivation of workflows.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Jul 2012 04:52:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activation-deactivation-enabling-disabling-of-workflows/m-p/265768#M218898</guid>
      <dc:creator>muralidharand</dc:creator>
      <dc:date>2012-07-14T04:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: Activation,deactivation, enabling &amp; disabling of workflows</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activation-deactivation-enabling-disabling-of-workflows/m-p/265769#M218899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Muralidharand ! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have received message from a alfresco's member :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm afraid it will need a lot of work .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Activiti dose support suspend process definitions and suspend the process instance ,but alfresco activiti wrapper dose not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So to implement your requirment in share,you should extend alfresco from service level ,to webscript level,and to share UI level:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1.In java service level ,extend existing workflowService ,add suspendProcessInstance and suspendProcessDefinition method,also extend WorkflowDefinition and WorkflowInstance class and add suspend status.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. In Webscript level,extend webscrtip such as (workflow-definition.get, workflow-instance.get , workflow-definition.putt, workflow-instance.put) to get workflow definition/instance suspend status and to update suspend status.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3.In share UI level ,display workflow definition/instance suspend status and add actions to update workflow definition/instance suspend status.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that I tried to implemented it but I found easy way to disable/enable workflow . &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on alfresco's source code package org.activiti.engine.impl class RepositoryServiceImpl have a method &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- public void suspendProcessDefinitionById&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- public void activateProcessDefinitionById&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can custom and change to using those methods through api/workflow-definitions &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is my personal opinion,maybe there is an easy way which I don't know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 04:22:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activation-deactivation-enabling-disabling-of-workflows/m-p/265769#M218899</guid>
      <dc:creator>vangnd1</dc:creator>
      <dc:date>2014-06-23T04:22:23Z</dc:date>
    </item>
  </channel>
</rss>

