<?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: Best practices for handling tasks from elsewhere in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/best-practices-for-handling-tasks-from-elsewhere/m-p/197374#M150504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"Is the general tendency to try to put automated processes somewhere controllable by web service, so that a ServiceTask combined with a Java class of some sort can call out to it?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It depends on your company and its habits. Typically people will use Java Service tasks. But in companies with a lot of REST endpoints, that'll be different upon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Is it frowned upon to have code controlling the automated process use the Activiti API directly?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, depends on your use case. Activiti is very open and flexible and does not judge. If the use case makes sense for you, why not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"…&amp;nbsp; instead of trying to register them somewhere and get a ServiceTask to specifically ask about them, but maybe that would be better?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not 100% sure what you mean by this. I assume you mean polling from a service task? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That could be done (intermediate timer + service task). Or you could use queues that start process instances when something comes in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2015 15:31:47 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2015-10-20T15:31:47Z</dc:date>
    <item>
      <title>Best practices for handling tasks from elsewhere</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/best-practices-for-handling-tasks-from-elsewhere/m-p/197373#M150503</link>
      <description>I'm looking at Activiti to control a hybrid of people-oriented processes and automated processes, and I'm trying to figure out some best practices.Is the general tendency to try to put automated processes somewhere controllable by web service, so that a ServiceTask combined with a Java class of some</description>
      <pubDate>Mon, 19 Oct 2015 19:55:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/best-practices-for-handling-tasks-from-elsewhere/m-p/197373#M150503</guid>
      <dc:creator>ritchieannand</dc:creator>
      <dc:date>2015-10-19T19:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: Best practices for handling tasks from elsewhere</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/best-practices-for-handling-tasks-from-elsewhere/m-p/197374#M150504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"Is the general tendency to try to put automated processes somewhere controllable by web service, so that a ServiceTask combined with a Java class of some sort can call out to it?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It depends on your company and its habits. Typically people will use Java Service tasks. But in companies with a lot of REST endpoints, that'll be different upon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Is it frowned upon to have code controlling the automated process use the Activiti API directly?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, depends on your use case. Activiti is very open and flexible and does not judge. If the use case makes sense for you, why not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"…&amp;nbsp; instead of trying to register them somewhere and get a ServiceTask to specifically ask about them, but maybe that would be better?"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not 100% sure what you mean by this. I assume you mean polling from a service task? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That could be done (intermediate timer + service task). Or you could use queues that start process instances when something comes in.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 15:31:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/best-practices-for-handling-tasks-from-elsewhere/m-p/197374#M150504</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-20T15:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Best practices for handling tasks from elsewhere</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/best-practices-for-handling-tasks-from-elsewhere/m-p/197375#M150505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay - good to know that it doesn't matter too much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We were discussing the other day about "pull" versus "push" semantics, and liked "pull" (which in this case could be a small program using the Activiti API to query tasks and do things to them) over "push" (which could be, for example, a ServiceTask calling out to one of our machines) simply because it's easier to talk to Activiti than to provide some sort of location service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I gather from some other threads that people do Activiti clustering much the same way: just run it on numerous machines and have them go looking for work, as it were, instead of somehow registering them somewhere and getting something else to actively coordinate them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing I haven't encountered too much and I don't know if it's appropriate is mixing workflow engines like Activiti with various messaging technologies like MSMQ or RabbitMQ to interact with other programs, but perhaps the state management in Activiti just makes those technologies redundant.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply, Joram &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– Ritchie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 17:10:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/best-practices-for-handling-tasks-from-elsewhere/m-p/197375#M150505</guid>
      <dc:creator>ritchieannand</dc:creator>
      <dc:date>2015-10-20T17:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Best practices for handling tasks from elsewhere</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/best-practices-for-handling-tasks-from-elsewhere/m-p/197376#M150506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Probably because there are not that much problems with it, but to my knowledge, people use Activiti with queues like RabbitMq very often&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Oct 2015 16:45:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/best-practices-for-handling-tasks-from-elsewhere/m-p/197376#M150506</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-28T16:45:54Z</dc:date>
    </item>
  </channel>
</rss>

