<?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: Retrieving the currently pending signals in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-the-currently-pending-signals/m-p/167280#M120813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Uhm… nope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't want to know if a certain process instance is waiting on *that particular* signal name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know the names of the signals that a process instance is waiting on: I don't have the value of the parameter to pass to signalEventSubscriptionName(), that's what I am trying to know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mind, yes I "know" which are the signals that are "declared" in the process because I designed it. But with your approach I would have to query N times the database to see if for every signal the process has an execution pending. Not advisable when you have about 30-50 signal point in the process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2014 08:53:31 GMT</pubDate>
    <dc:creator>lmollea</dc:creator>
    <dc:date>2014-04-01T08:53:31Z</dc:date>
    <item>
      <title>Retrieving the currently pending signals</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-the-currently-pending-signals/m-p/167278#M120811</link>
      <description>Wanted to know if there is a way to retrieve via Activiti API the current pending signals for a certain process Instance or if the only way is via a db query like:select ID_, EVENT_NAME_ from ACT_RU_EVENT_SUBSCR where PROC_INST_ID_ =&amp;nbsp; ? and EVENT_TYPE_ = 'signal'Seems that only in 5.15 there is a Cu</description>
      <pubDate>Mon, 31 Mar 2014 10:09:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-the-currently-pending-signals/m-p/167278#M120811</guid>
      <dc:creator>lmollea</dc:creator>
      <dc:date>2014-03-31T10:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the currently pending signals</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-the-currently-pending-signals/m-p/167279#M120812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The right API call would be:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;runtimeService.createExecutionQuery().processInstanceId().signalEventSubscriptionName()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also write your own query and use the custom sql approach if necessary, yes.&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, 31 Mar 2014 14:32:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-the-currently-pending-signals/m-p/167279#M120812</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-03-31T14:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the currently pending signals</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-the-currently-pending-signals/m-p/167280#M120813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Uhm… nope.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't want to know if a certain process instance is waiting on *that particular* signal name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to know the names of the signals that a process instance is waiting on: I don't have the value of the parameter to pass to signalEventSubscriptionName(), that's what I am trying to know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mind, yes I "know" which are the signals that are "declared" in the process because I designed it. But with your approach I would have to query N times the database to see if for every signal the process has an execution pending. Not advisable when you have about 30-50 signal point in the process.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 08:53:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-the-currently-pending-signals/m-p/167280#M120813</guid>
      <dc:creator>lmollea</dc:creator>
      <dc:date>2014-04-01T08:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the currently pending signals</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-the-currently-pending-signals/m-p/167281#M120814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is an unexposed EventSubscriptionQueryImpl that you can use for this purpose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See the org.activiti.engine.test.api.nonpublic.EventSubscriptionQueryTest how it is used.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 20:22:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-the-currently-pending-signals/m-p/167281#M120814</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-04-01T20:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the currently pending signals</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/retrieving-the-currently-pending-signals/m-p/167282#M120815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, it's working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Prefer using an API even if not "officially" exposed than putting some raw queries into the code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Actually the chance that my query or the unexposed API will break might be the same…)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Apr 2014 14:57:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/retrieving-the-currently-pending-signals/m-p/167282#M120815</guid>
      <dc:creator>lmollea</dc:creator>
      <dc:date>2014-04-02T14:57:16Z</dc:date>
    </item>
  </channel>
</rss>

