<?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: BPM Process Monitor. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38672#M16270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I can tell, the Activiti engine and it´s REST API only offers the following endpoint in regards to process instance diagrams:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.activiti.org/userguide/#_get_diagram_for_a_process_instance" title="https://www.activiti.org/userguide/#_get_diagram_for_a_process_instance" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this endpoint, one can at least see in which activitiy/task the process instance stands/hangs, but one cannot see the executed path to that point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having a quick look into the APS source code, it looks like this is an APS feature only and it is using a mixture of the above REST API but also historic APIs to see which activities of that instance have been completed and then overlay them in the process diagram to display the executed path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jun 2019 09:09:22 GMT</pubDate>
    <dc:creator>deko</dc:creator>
    <dc:date>2019-06-07T09:09:22Z</dc:date>
    <item>
      <title>BPM Process Monitor.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38667#M16265</link>
      <description>Hi all. I have been using Oracle Workflow for the last 18 years. It was way ahead of its time but Oracle has de supported it in 2003 but we did not find any other tool that came close to it. BPMN gives us the same functions now.In the Workflow tool we have a Monitor where we can see the path the Pro</description>
      <pubDate>Sat, 25 May 2019 22:18:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38667#M16265</guid>
      <dc:creator>jaco1</dc:creator>
      <dc:date>2019-05-25T22:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: BPM Process Monitor.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38668#M16266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anybody ????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2019 22:49:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38668#M16266</guid>
      <dc:creator>jaco1</dc:creator>
      <dc:date>2019-05-29T22:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: BPM Process Monitor.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38669#M16267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there really nobody who can give me info about this? How do the rest handle it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 18:45:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38669#M16267</guid>
      <dc:creator>jaco1</dc:creator>
      <dc:date>2019-06-06T18:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: BPM Process Monitor.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38670#M16268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dennis here from the Alfresco Support team and I just came accross your post here and thought I had to answer it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I now checked the behaviour in our Alfresco Process Services (APS) product and in there, administrators or process initiators have a "Show diagram" button, that when clicked opens a dialog that shows them quite nicely in which activity the process instance stands at that time (highlighted in green) and shows the passed path until there (highlighted in blue):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="26670" alt="Runtime process diagram" class="image-1 jive-image j-img-original" src="/legacyfs/online/alfresco/26670_screenshot 2019-06-07 um 08.32.59.png" /&gt;&lt;/P&gt;&lt;P&gt;This would of course also work for more complex diagrams with splitting executions or sub-processe &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now APS is using the Activiti engine and its APIs and REST endpoints internally, so what works from the end user application should also be possible using the REST API, whereas you might need a combination of the History API (&lt;A class="link-titled" href="https://www.activiti.org/userguide/#_history" title="https://www.activiti.org/userguide/#_history" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;) and the process instance diagram API endpoint.&lt;/P&gt;&lt;P&gt;Now coming to your question about retrying failed actions, it depends on how activities are configured, as the Activiti engine is able to handle actvities in a process &lt;SPAN class=""&gt;&lt;EM&gt;synchronously&lt;/EM&gt;&lt;/SPAN&gt; or &lt;SPAN class=""&gt;&lt;EM&gt;asynchronously&lt;/EM&gt;&lt;/SPAN&gt; (see also &lt;A class="link-titled" href="https://www.activiti.org/userguide/#bpmnConcurrencyAndTransactions" title="https://www.activiti.org/userguide/#bpmnConcurrencyAndTransactions" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;). For your example of running into a mail task, but the mail server cannot be reached, it means that if the mail task is configured to be executed synchronously, the process cannot move on and transactions will roll back to the actual task before the mail task (in my example process diagram above, it means that Task B cannot be completed and the assigned user would see an error trying to complete Task B). When the mail task is configured to be executed asynchronously, Task B can be completed and a job will be created internally for the mail task, that is handled by the engine´s async job executor (see &lt;A class="link-titled" href="https://www.activiti.org/userguide/#_async_executor" title="https://www.activiti.org/userguide/#_async_executor" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;). If the execution of this job fails (as the mail server cannot be reached), the Activiti engine by default automatically retries to execute this job 3 times (number of retries could be changed by configuration). If after all automatic attempts, the job could still not be executed (that is actually the case in my runtime diagram above, as the send mail task is highlighted in green and not executed), an administartor can use an jobs REST API endpoint (&lt;A class="link-titled" href="https://www.activiti.org/userguide/#_execute_a_single_job" title="https://www.activiti.org/userguide/#_execute_a_single_job" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;) or the APS activiti-admin application to manually retry this failed job. In the related UI, administrators would also see the stacktrace and cause for the failed job:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="26671" alt="Failed Job in activiti-admin" class="image-2 jive-image j-img-original" src="/legacyfs/online/alfresco/26671_screenshot 2019-06-07 um 08.33.47.png" /&gt;&lt;/P&gt;&lt;P&gt;I hope that this explanation makes sense to you Jaco and that this did indeed answers your questions here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards and have a wonderful weekend,&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 07:00:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38670#M16268</guid>
      <dc:creator>deko</dc:creator>
      <dc:date>2019-06-07T07:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: BPM Process Monitor.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38671#M16269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dennis. Thanks so much for coming back to me. I am using the version of Activiti that is part of WSO2. I was told to ask all the BPM questions on this Forum. The functions you are talking about is that only available in the APS version?&amp;nbsp; I get the diagram from activity using the REST API but it does not look like the one you are showing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 08:35:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38671#M16269</guid>
      <dc:creator>jaco1</dc:creator>
      <dc:date>2019-06-07T08:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: BPM Process Monitor.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38672#M16270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I can tell, the Activiti engine and it´s REST API only offers the following endpoint in regards to process instance diagrams:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.activiti.org/userguide/#_get_diagram_for_a_process_instance" title="https://www.activiti.org/userguide/#_get_diagram_for_a_process_instance" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this endpoint, one can at least see in which activitiy/task the process instance stands/hangs, but one cannot see the executed path to that point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Having a quick look into the APS source code, it looks like this is an APS feature only and it is using a mixture of the above REST API but also historic APIs to see which activities of that instance have been completed and then overlay them in the process diagram to display the executed path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Dennis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 09:09:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38672#M16270</guid>
      <dc:creator>deko</dc:creator>
      <dc:date>2019-06-07T09:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: BPM Process Monitor.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38673#M16271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you want to test APS, we are offering a 30 days free trial and of course, we can&amp;nbsp;help you while you are evaluating it.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.alfresco.com/platform/process-services-bpm/trial/download" title="https://www.alfresco.com/platform/process-services-bpm/trial/download" rel="nofollow noopener noreferrer"&gt;Download Alfresco Process Services | Alfresco&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 14:37:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38673#M16271</guid>
      <dc:creator>rallegre</dc:creator>
      <dc:date>2019-06-07T14:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: BPM Process Monitor.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38674#M16272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your help. I am now able to retry a failed job if something fails. I have one more question from a monitor interaction point of view. Let say for whatever reason a process variable that is used in an exclusive gate was set to the wrong value and the process took a wrong path and now sits at a wong human task. I know how to change variables but is there a way to tell the process to re-execute from a certain activity/node in the process? We have very big processes that take many days to complete. Sometimes things go wrong and a process will follow a path it should not have and we have to fix it. It would be great if we can tell the process to run from a certain point again and not have to cancel and rerun from the start. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 18:46:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38674#M16272</guid>
      <dc:creator>jaco1</dc:creator>
      <dc:date>2019-06-14T18:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: BPM Process Monitor.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38675#M16273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I now am able to show the steps the process took.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://connect.hyland.com/legacyfs/online/alfresco/26729_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Jun 2019 18:49:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/bpm-process-monitor/m-p/38675#M16273</guid>
      <dc:creator>jaco1</dc:creator>
      <dc:date>2019-06-14T18:49:39Z</dc:date>
    </item>
  </channel>
</rss>

