<?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 add a related content in a java service using execution object in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-related-content-in-a-java-service-using-execution/m-p/153319#M107906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using Activit 5.14 &amp;amp; activiti explorer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a java service defined. I would like to generate a html table and add it as a related content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I spent some time looking at in the debugger execution object. It has lot of members such as tasks etc. But not clear to me how to get taskservice instance and task id from execution object.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the following example I see that given taskservice instance and task id, I can create the related content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://docs.google.com/spreadsheet/ccc?key=0Ahh6WozhxGl9dFlMbVRxSWNFODhSWWlXXy1XcEl5SEE&amp;amp;usp=drive_web#gid=0" rel="nofollow noopener noreferrer"&gt;https://docs.google.com/spreadsheet/ccc?key=0Ahh6WozhxGl9dFlMbVRxSWNFODhSWWlXXy1XcEl5SEE&amp;amp;usp=drive_web#gid=0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Pleas let me know how to get taskservice instance and task id from execution object.&amp;nbsp; &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Nov 2013 12:23:08 GMT</pubDate>
    <dc:creator>pbhat</dc:creator>
    <dc:date>2013-11-02T12:23:08Z</dc:date>
    <item>
      <title>How to add a related content in a java service using execution object</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-related-content-in-a-java-service-using-execution/m-p/153319#M107906</link>
      <description>I am using Activit 5.14 &amp;amp; activiti explorer.I have a java service defined. I would like to generate a html table and add it as a related content.I spent some time looking at in the debugger execution object. It has lot of members such as tasks etc. But not clear to me how to get taskservice inst</description>
      <pubDate>Sat, 02 Nov 2013 12:23:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-related-content-in-a-java-service-using-execution/m-p/153319#M107906</guid>
      <dc:creator>pbhat</dc:creator>
      <dc:date>2013-11-02T12:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a related content in a java service using execution object</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-related-content-in-a-java-service-using-execution/m-p/153320#M107907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are in a Service-task, you can call &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;execution.getEngineServices().getTaskService().createTaskQuery().executionId(execution.getId()).list();&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 10:31:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-add-a-related-content-in-a-java-service-using-execution/m-p/153320#M107907</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-11-07T10:31:00Z</dc:date>
    </item>
  </channel>
</rss>

