<?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: Debugging Activiti Flow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/debugging-activiti-flow/m-p/183905#M137035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. Since a process engine will be started you could try adding a breakpoint here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessEngineConfigurationImpl.java&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public ProcessEngine buildProcessEngine() {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; init();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return new ProcessEngineImpl(this);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and starting from this breakpoint you'll see which is the caller method and where will go next.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. about your next step, did you read this chapter? 4.3.2. Starting a process instance ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;here you'll find how a process instance could be created and then you'll know where you could put breakpoints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you could put some breakpoints into sevices and then when your client application will try to do something for sure the execution will stop in one of these breakpoints. then you could start investigating the stacktrace and you could start running the code step by step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TaskServiceImpl, RuntimeServiceImpl, RepositoryServiceImpl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. A good idea could be to start investigating the JUnit tests (from these tests you'll learn how Activiti is expecting to work)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Enjoy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Jul 2015 22:52:33 GMT</pubDate>
    <dc:creator>vasile_dirla</dc:creator>
    <dc:date>2015-07-11T22:52:33Z</dc:date>
    <item>
      <title>Debugging Activiti Flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/debugging-activiti-flow/m-p/183902#M137032</link>
      <description>Hi I am new to Activiti i wanted to understand the flow, can some one help me to figure out the starting point to begin my code walk throughThanksSathish A</description>
      <pubDate>Thu, 09 Jul 2015 15:41:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/debugging-activiti-flow/m-p/183902#M137032</guid>
      <dc:creator>sathizk7</dc:creator>
      <dc:date>2015-07-09T15:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Activiti Flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/debugging-activiti-flow/m-p/183903#M137033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What exactly you want to do? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debugging when Activiti is starting up, when a new process instance is starting, or what exactly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you have a look at this documentation? &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/&lt;/A&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2015 22:18:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/debugging-activiti-flow/m-p/183903#M137033</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-07-11T22:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Activiti Flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/debugging-activiti-flow/m-p/183904#M137034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi I need to understand the startup and my next step is to understand the flow of new process &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2015 22:27:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/debugging-activiti-flow/m-p/183904#M137034</guid>
      <dc:creator>sathizk7</dc:creator>
      <dc:date>2015-07-11T22:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Activiti Flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/debugging-activiti-flow/m-p/183905#M137035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;1. Since a process engine will be started you could try adding a breakpoint here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessEngineConfigurationImpl.java&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public ProcessEngine buildProcessEngine() {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; init();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return new ProcessEngineImpl(this);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and starting from this breakpoint you'll see which is the caller method and where will go next.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. about your next step, did you read this chapter? 4.3.2. Starting a process instance ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;here you'll find how a process instance could be created and then you'll know where you could put breakpoints.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you could put some breakpoints into sevices and then when your client application will try to do something for sure the execution will stop in one of these breakpoints. then you could start investigating the stacktrace and you could start running the code step by step.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TaskServiceImpl, RuntimeServiceImpl, RepositoryServiceImpl.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. A good idea could be to start investigating the JUnit tests (from these tests you'll learn how Activiti is expecting to work)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Enjoy.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2015 22:52:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/debugging-activiti-flow/m-p/183905#M137035</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-07-11T22:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging Activiti Flow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/debugging-activiti-flow/m-p/183906#M137036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you so much Vasile, that was very useful. Let me start debugging it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again and have a great evening&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2015 01:37:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/debugging-activiti-flow/m-p/183906#M137036</guid>
      <dc:creator>sathizk7</dc:creator>
      <dc:date>2015-07-12T01:37:42Z</dc:date>
    </item>
  </channel>
</rss>

