<?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 How to achieve flexible workflow  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-achieve-flexible-workflow/m-p/164711#M118439</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;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm trying to implement flexible process which users can determine the next task dynamically. I have used the ActivityImpl#getOutgoingTransitions(), createOutgoingTransition(), etc. in our method. This method need to change and restore the the process definition each time. I think this method has some risk. If multi-users use the same process definition simultaneously, the process maybe crashed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Is there some interface in Activiti that I can complete the task with specified “destinationTaskKey”? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; best regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; tll&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Dec 2013 03:04:16 GMT</pubDate>
    <dc:creator>tll</dc:creator>
    <dc:date>2013-12-28T03:04:16Z</dc:date>
    <item>
      <title>How to achieve flexible workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-achieve-flexible-workflow/m-p/164711#M118439</link>
      <description>hi,&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm trying to implement flexible process which users can determine the next task dynamically. I have used the ActivityImpl#getOutgoingTransitions(), createOutgoingTransition(), etc. in our method. This method need to change and restore the the process definition each time. I think this method</description>
      <pubDate>Sat, 28 Dec 2013 03:04:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-achieve-flexible-workflow/m-p/164711#M118439</guid>
      <dc:creator>tll</dc:creator>
      <dc:date>2013-12-28T03:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve flexible workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-achieve-flexible-workflow/m-p/164712#M118440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How many different tasks are we talking about? And are these tasks flexible as well, or do you have a fixed pool of 100 different tasks or so? You could do something with call activities and expressions on the calledElement to make your process flexible. If there are only a couple of tasks you could use the outgoing transitions to show a list of options to the user. Also, it's possible to use a form key expression to dynamically determine the task type. So a lot of possibilities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 11:56:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-achieve-flexible-workflow/m-p/164712#M118440</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-12-30T11:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve flexible workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-achieve-flexible-workflow/m-p/164713#M118441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are about ten tasks in total.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;what is"form key expression" ?&amp;nbsp; Does that mean the TaskDefinitionKey of a task that defined in the process definition ".xml" file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, how can I complete the current task by using the supplied complete() function? It only has a parameter " taskId". Maybe I could extend the complete() by adding another parameter "TaskDefinitionKey". Also I need to modify the corresponding source code in org.activiti.engine.impl.interceptor.Command.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 04:32:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-achieve-flexible-workflow/m-p/164713#M118441</guid>
      <dc:creator>tll</dc:creator>
      <dc:date>2014-01-03T04:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to achieve flexible workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-achieve-flexible-workflow/m-p/164714#M118442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My guess ( i think i posted this in the other thread to) is to work with expressions for the task name and form key, combined with exclusive gateways that check whether a new task needs to be created.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jan 2014 12:19:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-achieve-flexible-workflow/m-p/164714#M118442</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-01-06T12:19:11Z</dc:date>
    </item>
  </channel>
</rss>

