<?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: Java Service task to looping to call another java service task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/java-service-task-to-looping-to-call-another-java-service-task/m-p/156619#M110855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; the Recieve task approach can you please help if you have any steps on how to implement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The receive task + signal is very easy: your process goes into a wait state (receive task). It has an execution pointing to it. Something external calls the runTimeService.signal(executionId) method and your process will continue. To send out the execution id, you can use for example your own service task or an execution listener that sends out the executionId to some queue for example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; How can I make my activiti project keep on running so that it will be executed whenever a message receives and how can I call the my activiti from other application&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See above, you call the Java API (or REST if you're using that) with the signal method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Apr 2014 07:43:49 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-04-25T07:43:49Z</dc:date>
    <item>
      <title>Java Service task to looping to call another java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-service-task-to-looping-to-call-another-java-service-task/m-p/156616#M110852</link>
      <description>Hi ,I am new to Activiti and trying to create a POC , to call several java service tasks to under one java service task.In details –Start -&amp;gt; Java service Task 1- &amp;gt; Java Service Task 2 -&amp;gt; Java Service Task 3 -&amp;gt; EndFor JST 1 I am calling a execute method of a java class which implements Ja</description>
      <pubDate>Tue, 22 Apr 2014 10:27:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-service-task-to-looping-to-call-another-java-service-task/m-p/156616#M110852</guid>
      <dc:creator>bhola</dc:creator>
      <dc:date>2014-04-22T10:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Java Service task to looping to call another java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-service-task-to-looping-to-call-another-java-service-task/m-p/156617#M110853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have a look at multi-instance characteristics (see userguide). This allows you to repeat a single service-task multiple times, based on a collection of values. These values can be stored as a process-variables, based on a step before or just based on an expressions which resolves to a service-call.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The tricky part is to connect the right "behaviour" to the service-task invocation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another alternative is to just execute the JavaDelegate from within the code (as you whould call any code) or event call your own interface-methods on each of the different operations you want to perform. This will only show one service-task in the history offcourse, so not as optimal as the multi-instance approach, which can even be made asynchronous.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 10:46:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-service-task-to-looping-to-call-another-java-service-task/m-p/156617#M110853</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-04-22T10:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Java Service task to looping to call another java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-service-task-to-looping-to-call-another-java-service-task/m-p/156618#M110854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Frederik,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks alot for the suggestions.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to implement a 'Java Receive Task' as my first activity which will wait till it gets a Message object of type Transaction from a queue. After that I want to use that Message and proceed with other activities. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As I am new to this I don't find much details in user guide regarding the Recieve task approach can you please help if you have any steps on how to implement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And one more thing I want to know.. How can I make my activiti project keep on running so that it will be executed whenever a message receives and how can I call the my activiti from other application?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me on this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 07:52:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-service-task-to-looping-to-call-another-java-service-task/m-p/156618#M110854</guid>
      <dc:creator>bhola</dc:creator>
      <dc:date>2014-04-24T07:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Java Service task to looping to call another java service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/java-service-task-to-looping-to-call-another-java-service-task/m-p/156619#M110855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; the Recieve task approach can you please help if you have any steps on how to implement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The receive task + signal is very easy: your process goes into a wait state (receive task). It has an execution pointing to it. Something external calls the runTimeService.signal(executionId) method and your process will continue. To send out the execution id, you can use for example your own service task or an execution listener that sends out the executionId to some queue for example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt; How can I make my activiti project keep on running so that it will be executed whenever a message receives and how can I call the my activiti from other application&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See above, you call the Java API (or REST if you're using that) with the signal method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2014 07:43:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/java-service-task-to-looping-to-call-another-java-service-task/m-p/156619#M110855</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-04-25T07:43:49Z</dc:date>
    </item>
  </channel>
</rss>

