<?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 create a custom event and listen to it? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-custom-event-and-listen-to-it/m-p/19999#M8856</link>
    <description>&lt;P&gt;I am working on an activiti based java application. As per my process definition, when task is created or assigned or completed, activiti engine invokes a custom task listener(extending TaskLIstener). This task listener performs some logging actions in elasticsearch. I have a usecase which needs a different handling. I have exposed a rest API which a user can invoke to change priority of a task. What I want is that when this API is invoked, my custom task listener,mentioned above, is also invoked. I am not sure how to achieve it. I guess I first need to create a custom event which is created when API is called(events offered by activiti won't help). And then, I somwhow need to link that custom event and my custom task listener. Any inputs are welcome.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 10:35:38 GMT</pubDate>
    <dc:creator>ghildiya</dc:creator>
    <dc:date>2019-10-23T10:35:38Z</dc:date>
    <item>
      <title>How to create a custom event and listen to it?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-custom-event-and-listen-to-it/m-p/19999#M8856</link>
      <description>&lt;P&gt;I am working on an activiti based java application. As per my process definition, when task is created or assigned or completed, activiti engine invokes a custom task listener(extending TaskLIstener). This task listener performs some logging actions in elasticsearch. I have a usecase which needs a different handling. I have exposed a rest API which a user can invoke to change priority of a task. What I want is that when this API is invoked, my custom task listener,mentioned above, is also invoked. I am not sure how to achieve it. I guess I first need to create a custom event which is created when API is called(events offered by activiti won't help). And then, I somwhow need to link that custom event and my custom task listener. Any inputs are welcome.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 10:35:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-custom-event-and-listen-to-it/m-p/19999#M8856</guid>
      <dc:creator>ghildiya</dc:creator>
      <dc:date>2019-10-23T10:35:38Z</dc:date>
    </item>
  </channel>
</rss>

