<?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 Skip a call activity in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/skip-a-call-activity/m-p/159245#M113284</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 have a workflow in which I have multiple subprocesses (using call activity). When a particular subprocess (call activity) is executing, the user should be able to cancel/skip that call activity and should be able to execute the next subprocess in order. Is there any way this can be acheived ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Himanshu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2014 12:20:22 GMT</pubDate>
    <dc:creator>himanshu_mps</dc:creator>
    <dc:date>2014-01-16T12:20:22Z</dc:date>
    <item>
      <title>Skip a call activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/skip-a-call-activity/m-p/159245#M113284</link>
      <description>Hi,I have a workflow in which I have multiple subprocesses (using call activity). When a particular subprocess (call activity) is executing, the user should be able to cancel/skip that call activity and should be able to execute the next subprocess in order. Is there any way this can be acheived ?Th</description>
      <pubDate>Thu, 16 Jan 2014 12:20:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/skip-a-call-activity/m-p/159245#M113284</guid>
      <dc:creator>himanshu_mps</dc:creator>
      <dc:date>2014-01-16T12:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Skip a call activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/skip-a-call-activity/m-p/159246#M113285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Add a catching boundary-event to the call-activity/subprocess, a message-boundary event for example - with cancelActivity="false". Make the outgoing flow go to the next call-activity… Make your UI send a message to the execution to "cancel" the execution of the ongoing call-activity. That should work &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 12:55:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/skip-a-call-activity/m-p/159246#M113285</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-16T12:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Skip a call activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/skip-a-call-activity/m-p/159247#M113286</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 am able to attach the message boundary event. But I don't see any method in the runtime service to actually send a cancel message to the particular process. Could you please provide a code snippet so that it is clear ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, shouldn't be cancelActivity set to "true" in this case ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 04:13:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/skip-a-call-activity/m-p/159247#M113286</guid>
      <dc:creator>himanshu_mps</dc:creator>
      <dc:date>2014-01-17T04:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Skip a call activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/skip-a-call-activity/m-p/159248#M113287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, it should indeed be set to "true", the value of the cancelActivity attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Messaging an executions can be done using the runtimeService:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt; /**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * Notifies the process engine that a message event with name 'messageName'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * has been received and has been correlated to an execution with id&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * 'executionId'.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * The waiting execution is notified synchronously.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * &lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param messageName&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the name of the message event&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @param executionId&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the id of the execution to deliver the message to&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @throws ActivitiObjectNotFoundException&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if no such execution exists.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * @throws ActivitiException&lt;BR /&gt;&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if the execution has not subscribed to the signal&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; void messageEventReceived(String messageName, String executionId);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;The right execution to message can be found using an ExecutionQuery, filtering by processInstanceId and message-event subscription.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 07:57:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/skip-a-call-activity/m-p/159248#M113287</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-17T07:57:22Z</dc:date>
    </item>
  </channel>
</rss>

