<?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 service task monitoring in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129065#M90679</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 trying to monitor a process consisting several service tasks. I am using Listeners to generate events for my service tasks. I need to figure out, for example, If I have service tasks A,B,C,D where D is a service that send emails (for example). I would like know that the start event of the service D should have some information about the invoking service or who access that service. If service B invokes service D then then the start event of the service D must have at least the name of service B. I am not sure how to implement or achieve this. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be very much appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Dec 2012 11:20:49 GMT</pubDate>
    <dc:creator>logic3</dc:creator>
    <dc:date>2012-12-06T11:20:49Z</dc:date>
    <item>
      <title>service task monitoring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129065#M90679</link>
      <description>HI,I am trying to monitor a process consisting several service tasks. I am using Listeners to generate events for my service tasks. I need to figure out, for example, If I have service tasks A,B,C,D where D is a service that send emails (for example). I would like know that the start event of the se</description>
      <pubDate>Thu, 06 Dec 2012 11:20:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129065#M90679</guid>
      <dc:creator>logic3</dc:creator>
      <dc:date>2012-12-06T11:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: service task monitoring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129066#M90680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not really understanding what you're trying to do …&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I guess you want to know who is calling some service …. autodiscovering it is pretty hard, so the easiest will probably be a process variable … I don't see any reasonable way how else to do it…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 16:25:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129066#M90680</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-12-06T16:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: service task monitoring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129067#M90681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for you reply..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, for instance who is calling some service. when you say process variable then could you please be explain a bit further. I mean how to use process variable for this purpose.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2012 19:05:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129067#M90681</guid>
      <dc:creator>logic3</dc:creator>
      <dc:date>2012-12-06T19:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: service task monitoring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129068#M90682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, the more I think about it, the more I dislike process variables.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since the service is Java … can't you just add a mandatory parameter to the service invocation?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 08:47:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129068#M90682</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-12-07T08:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: service task monitoring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129069#M90683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I will try to provide some more information for what I am trying to achieve. I am trying to create an module that send maximum information about the running process. For this, I am using event listeners and implemented the BPMNParser class. I have service tasks that contain information about remote web services. A service task may look like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;serviceTask activiti:class="org.myclass" id="servicetask1" name="ServiceTask"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="type"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:string&amp;gt;xyz&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="input"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:expression&amp;gt;${var0}&amp;lt;/activiti:expression&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="output"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:string&amp;gt;${var1}&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:field name="op"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:string&amp;gt;yuo&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt;&amp;lt;activiti:field name="location"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:string&amp;gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/localhost:xxxx/bmg?wsdl" rel="nofollow noopener noreferrer"&gt;http://localhost:xxxx/bmg?wsdl&lt;/A&gt;&amp;lt;/activiti:string&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/activiti:field&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/serviceTask&amp;gt;&lt;/CODE&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; As i mentioned, It need to collect the maximum information about a service and send it as an event. It should not only have the start and end time but also some other information such as the service task extension elements and perhaps invocation information. I tried sending the extension element information but failed because the start event goes out first and then the serviceTask activiti:class is executed. Thus, events only contain Null information. I think process variable could be used but I am not sure how. Also, my understanding is that process variable could only be used at process level.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; It would be nice to do the maximum work at the event handler classes level. I could include some stuff to the serviceTask activiti:class to support the listeners. I am new to Activiti and therefore need some help and advise.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;many thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2012 11:47:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129069#M90683</guid>
      <dc:creator>logic3</dc:creator>
      <dc:date>2012-12-07T11:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: service task monitoring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129070#M90684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, that's a pretty tricky use case you have there &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if I understand you correctly, you need basically the XML information right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, I would suggest looking at the bpmn-converter we introduced in Activiti 5.11. Those classes can transform the xml to a pojo, which you can then use in your events.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 09:11:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129070#M90684</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-12-10T09:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: service task monitoring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129071#M90685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will certainly look into the BPMN-converter but I am not sure if we are allowed to upgrade ourselves to 5.11. However, do you see any possibility of the event class to use the serviceTask activiti:class. I mean some logic that the start event after execution, collect information from serviceTask activiti:class. Currently, the event class is executed before the serviceTask activiti:class. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Dec 2012 11:19:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129071#M90685</guid>
      <dc:creator>logic3</dc:creator>
      <dc:date>2012-12-10T11:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: service task monitoring</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129072#M90686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;However, do you see any possibility of the event class to use the serviceTask activiti:class. I mean some logic that the start event after execution, collect information from serviceTask activiti:class. Currently, the event class is executed before the serviceTask activiti:class.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;No, I'm afraid there is currently not such functionality. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But wouldn't regular execution listeners [1] work for you? From the userguide, they allow you to capture&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Start and ending of a process instance.&lt;BR /&gt;Taking a transition.&lt;BR /&gt;Start and ending of an activity.&lt;BR /&gt;Start and ending of a gateway.&lt;BR /&gt;Start and ending of intermediate events.&lt;BR /&gt;Ending an start event or starting an end event.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[1] &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#executionListeners" rel="nofollow noopener noreferrer"&gt;http://activiti.org/userguide/index.html#executionListeners&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 07:13:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-monitoring/m-p/129072#M90686</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2012-12-11T07:13:41Z</dc:date>
    </item>
  </channel>
</rss>

