<?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 EventSubscriptionQuery in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/eventsubscriptionquery/m-p/158270#M112392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to expose EventSubscriptionEntityManager as a "EventSubscriptionQuery" interface?&amp;nbsp; The queries available in the EventSubscriptionEntityManager would allow me to discover what events subscriptions are available to an Execution.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jan 2014 02:15:39 GMT</pubDate>
    <dc:creator>timber725</dc:creator>
    <dc:date>2014-01-16T02:15:39Z</dc:date>
    <item>
      <title>EventSubscriptionQuery</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/eventsubscriptionquery/m-p/158270#M112392</link>
      <description>Is it possible to expose EventSubscriptionEntityManager as a "EventSubscriptionQuery" interface?&amp;nbsp; The queries available in the EventSubscriptionEntityManager would allow me to discover what events subscriptions are available to an Execution.</description>
      <pubDate>Thu, 16 Jan 2014 02:15:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/eventsubscriptionquery/m-p/158270#M112392</guid>
      <dc:creator>timber725</dc:creator>
      <dc:date>2014-01-16T02:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: EventSubscriptionQuery</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/eventsubscriptionquery/m-p/158271#M112393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use the ExecutionQuery to check if an execution is subscribed on a certain message/signal, in case you know what signal/message name you're looking for. I don't immediately see any use cases for exposing that. On top of that, the EventSubscriptionEntity is an internal class, not exposed in our API, so it's a lot of work to get that exposed in a decent manner.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What usecase do you have for this, that is not covered by the ExecutionQuery?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 08:32:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/eventsubscriptionquery/m-p/158271#M112393</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-16T08:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: EventSubscriptionQuery</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/eventsubscriptionquery/m-p/158272#M112394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We want to use Activiti to control what actions are available to the user for the user task in the workflow.&amp;nbsp; We want to implement this via message and signal events.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The ExecutionQuery will require that you know what actions are available.&amp;nbsp; Instead, I would like to make it so that the workflow informs me what actions are available without hardcoding this.&amp;nbsp; EventSubscriptionEntity provided the methods and data we needed to solve this use case.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jan 2014 22:32:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/eventsubscriptionquery/m-p/158272#M112394</guid>
      <dc:creator>timber725</dc:creator>
      <dc:date>2014-01-16T22:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: EventSubscriptionQuery</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/eventsubscriptionquery/m-p/158273#M112395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see… That makes sense. A quite safe workaround whould be to implement a custom command (org.activiti.engine.impl.interceptor.Command&amp;lt;T&amp;gt;), this has access to all managers and sessions, using the commandContext. Run the command using the managementService.executeCommand(). Your command can return a list of Strings of message-names, for example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 07:59:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/eventsubscriptionquery/m-p/158273#M112395</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-01-17T07:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: EventSubscriptionQuery</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/eventsubscriptionquery/m-p/158274#M112396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I went with extending BoundaryEventParseHandler.&amp;nbsp; During parse time, the extension would store all of the Activity and Events combination.&amp;nbsp;&amp;nbsp; During runtime, I use this stored info to retrieve the list of message-names per Activity ID.&amp;nbsp; It works for now.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 17:41:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/eventsubscriptionquery/m-p/158274#M112396</guid>
      <dc:creator>timber725</dc:creator>
      <dc:date>2014-01-17T17:41:02Z</dc:date>
    </item>
  </channel>
</rss>

