<?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: How to generate summary document based on completed workflow? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-generate-summary-document-based-on-completed-workflow/m-p/41287#M17327</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;In the Actviti alone it might be a solution, but in the Alfresco Community 6.1.x with the &lt;EM&gt;embedded&lt;/EM&gt; Activiti 5.22.0, according to my knowledge,&amp;nbsp; there is no such a thing as "My Task app". As this is only an embedded engine, I guess I cannot use these REST calls.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jul 2020 16:39:20 GMT</pubDate>
    <dc:creator>upforsin</dc:creator>
    <dc:date>2020-07-13T16:39:20Z</dc:date>
    <item>
      <title>How to generate summary document based on completed workflow?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-generate-summary-document-based-on-completed-workflow/m-p/41283#M17323</link>
      <description>&lt;P&gt;I'd like to generate a summary document (PDF, HTML, etc.) after the workflow's finish (something similar to the workflow-details page). Do you have any clues how could it be done? Or maybe someone has already implemented a similar feature?&lt;/P&gt;&lt;P&gt;I heard it's easy in the APS (you have a button to generate PDF?) but I'm using Alfresco Community version...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jul 2020 15:23:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-generate-summary-document-based-on-completed-workflow/m-p/41283#M17323</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2020-07-04T15:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate summary document based on completed workflow?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-generate-summary-document-based-on-completed-workflow/m-p/41284#M17324</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/8063"&gt;@upforsin&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;With Alfresco Process Services there is the "Audit Log"&amp;nbsp; when reviewing a process &amp;amp; this will produce something like what you want. There is also an &lt;A href="https://docs.alfresco.com/process-services1.11/topics/process_instance_audit_log_as_json.html" target="_self" rel="nofollow noopener noreferrer"&gt;audit API&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Activiti has the &lt;A href="https://docs.alfresco.com/activiti/docs/dev-guide/1.5.0/#_audit_log_bean_auditlogbean" target="_self" rel="nofollow noopener noreferrer"&gt;auditLogBean&lt;/A&gt; which "&lt;SPAN&gt;generate(s) audit logs in .pdf format for a completed process instance or a completed task&lt;/SPAN&gt;" - looks like this might do what you want?&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 08:26:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-generate-summary-document-based-on-completed-workflow/m-p/41284#M17324</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-07-13T08:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate summary document based on completed workflow?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-generate-summary-document-based-on-completed-workflow/m-p/41285#M17325</link>
      <description>&lt;P&gt;Thank you for your reply&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;With the APS, I can call&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;GET api/enterprise/process-instances/{process-instance-id}/audit-log&lt;/PRE&gt;&lt;P&gt;but in the &lt;U&gt;community version&lt;/U&gt;, this GET request (and all other requests related to "audit") is unavailable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think if I create ServiceTask with an expression similar to&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;${auditLogBean.generateProcessInstancePdf(execution, 'My first process instance audit log', true, 'myFieldName')}&lt;/PRE&gt;&lt;P&gt;, it will generate a PDF somewhere in the document library?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 14:11:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-generate-summary-document-based-on-completed-workflow/m-p/41285#M17325</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2020-07-13T14:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate summary document based on completed workflow?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-generate-summary-document-based-on-completed-workflow/m-p/41286#M17326</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/8063"&gt;@upforsin&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;The &lt;A href="https://docs.alfresco.com/activiti/docs/dev-guide/1.5.0/#_audit_log_bean_auditlogbean" target="_self" rel="nofollow noopener noreferrer"&gt;documentation&lt;/A&gt; says, "&lt;SPAN&gt;You can view the audit logs from the My Tasks app by clicking the "Audit Log" link when viewing the details of a completed process or task. &lt;EM&gt;When doing so the following two rest calls are made&lt;/EM&gt;.&lt;/SPAN&gt;"&lt;/P&gt;
&lt;PRE&gt;Process instance audit log:
GET app/rest/process-instances/{process-instance-id}/audit
Task audit log:
GET app/rest/tasks/{task-id}/audit&lt;/PRE&gt;
&lt;P&gt;I'm not sure if these rest calls have been exposed? So you may have to do as you suggest.&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 14:53:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-generate-summary-document-based-on-completed-workflow/m-p/41286#M17326</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-07-13T14:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate summary document based on completed workflow?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-generate-summary-document-based-on-completed-workflow/m-p/41287#M17327</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/76783"&gt;@EddieMay&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;In the Actviti alone it might be a solution, but in the Alfresco Community 6.1.x with the &lt;EM&gt;embedded&lt;/EM&gt; Activiti 5.22.0, according to my knowledge,&amp;nbsp; there is no such a thing as "My Task app". As this is only an embedded engine, I guess I cannot use these REST calls.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2020 16:39:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-generate-summary-document-based-on-completed-workflow/m-p/41287#M17327</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2020-07-13T16:39:20Z</dc:date>
    </item>
  </channel>
</rss>

