<?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 avoid multiple calls with the same processInstanceId in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-avoid-multiple-calls-with-the-same-processinstanceid/m-p/109770#M77060</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 would like to know if Activiti can help me to block a second call with the same processInstanceId while a serviceTask is running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scenario: a web user retrying with the same processInstanceId while processing the previous request. (I've no control over UI)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can Activiti help me to fix this, or should I do it manually?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 May 2012 17:55:39 GMT</pubDate>
    <dc:creator>rufini</dc:creator>
    <dc:date>2012-05-31T17:55:39Z</dc:date>
    <item>
      <title>How to avoid multiple calls with the same processInstanceId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-avoid-multiple-calls-with-the-same-processinstanceid/m-p/109770#M77060</link>
      <description>HiI would like to know if Activiti can help me to block a second call with the same processInstanceId while a serviceTask is running.Scenario: a web user retrying with the same processInstanceId while processing the previous request. (I've no control over UI)Can Activiti help me to fix this, or shou</description>
      <pubDate>Thu, 31 May 2012 17:55:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-avoid-multiple-calls-with-the-same-processinstanceid/m-p/109770#M77060</guid>
      <dc:creator>rufini</dc:creator>
      <dc:date>2012-05-31T17:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid multiple calls with the same processInstanceId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-avoid-multiple-calls-with-the-same-processinstanceid/m-p/109771#M77061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;'blocking a second call' can mean just about anything, but IMO process concurrency (or restrictions thereof) should be modelled outside of the business process. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you really must model it inside the process then you might be able to use an executionlistener on the start event of the process, and throw an exception or something when you detect that another instance of the same process is running.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 04:29:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-avoid-multiple-calls-with-the-same-processinstanceid/m-p/109771#M77061</guid>
      <dc:creator>heymjo</dc:creator>
      <dc:date>2012-06-01T04:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid multiple calls with the same processInstanceId</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-avoid-multiple-calls-with-the-same-processinstanceid/m-p/109772#M77062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Activiti has optimistic locking in place. In case two threads concurrently eg. complete the same task on a process-instance, one of them will get a "org.activiti.engine.ActivitiOptimisticLockingException". Your logic, consuming the Activiti API, can catch this and handle accordingly.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 07:03:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-avoid-multiple-calls-with-the-same-processinstanceid/m-p/109772#M77062</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-13T07:03:57Z</dc:date>
    </item>
  </channel>
</rss>

