<?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 spring boot work with activiti? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7635#M3483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use&amp;nbsp;Spring boot 2.0.1.RELEASE with Activiti&amp;nbsp;&amp;nbsp;5.22.0 and write a init method in start application:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Bean&lt;BR /&gt; CommandLineRunner init(final RepositoryService repositoryService, final RuntimeService runtimeService,&lt;BR /&gt; final TaskService taskService) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;return new CommandLineRunner() {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public void run(String... strings) throws Exception {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Map&amp;lt;String, Object&amp;gt; variables = new HashMap&amp;lt;String, Object&amp;gt;();&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;variables.put("applicantName", "John Doe");&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;variables.put("email", "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:john.doe@activiti.com" rel="nofollow noopener noreferrer"&gt;john.doe@activiti.com&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;variables.put("phoneNumber", "123456789");&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;runtimeService.startProcessInstanceByKey("hireProcess", variables);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;run but comes out the error below:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Description:&lt;/P&gt;&lt;P&gt;Parameter 0 of method init in com.test.Test required a bean of type 'org.activiti.engine.RepositoryService' that could not be found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Action:&lt;/P&gt;&lt;P&gt;Consider defining a bean of type 'org.activiti.engine.RepositoryService' in your configuration.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and i try use Activiti&amp;nbsp;5.19.0.2 or Activiti 6.0.0 is ok, i don't know why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2018 07:47:38 GMT</pubDate>
    <dc:creator>hank</dc:creator>
    <dc:date>2018-04-23T07:47:38Z</dc:date>
    <item>
      <title>How spring boot work with activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7635#M3483</link>
      <description>I use&amp;nbsp;Spring boot 2.0.1.RELEASE with Activiti&amp;nbsp;&amp;nbsp;5.22.0 and write a init method in start application:@Bean CommandLineRunner init(final RepositoryService repositoryService, final RuntimeService runtimeService, final TaskService taskService) {&amp;nbsp;&amp;nbsp;&amp;nbsp;return new CommandLineRunner() {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public void run(Str</description>
      <pubDate>Mon, 23 Apr 2018 07:47:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7635#M3483</guid>
      <dc:creator>hank</dc:creator>
      <dc:date>2018-04-23T07:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: How spring boot work with activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7636#M3484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Activiti 6 which should work with Spring Boot 1.5, but the main focus of Activiti 7 is to build things on top Spring Boot 2.x. You can take a look at our Runtime Bundle Starter module here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Activiti/activiti-cloud-runtime-bundle-service/tree/develop/activiti-cloud-starter-runtime-bundle" title="https://github.com/Activiti/activiti-cloud-runtime-bundle-service/tree/develop/activiti-cloud-starter-runtime-bundle" rel="nofollow noopener noreferrer"&gt;activiti-cloud-runtime-bundle-service/activiti-cloud-starter-runtime-bundle at develop · Activiti/activiti-cloud-runtime…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and an example here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Activiti/example-runtime-bundle/blob/develop/pom.xml#L23" title="https://github.com/Activiti/example-runtime-bundle/blob/develop/pom.xml#L23" rel="nofollow noopener noreferrer"&gt;example-runtime-bundle/pom.xml at develop · Activiti/example-runtime-bundle · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For our cloud deployments.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please elaborate what kind of application are you trying to build? Where are you planning to run your SB app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2018 10:16:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7636#M3484</guid>
      <dc:creator>salaboy</dc:creator>
      <dc:date>2018-04-23T10:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: How spring boot work with activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7637#M3485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply. Now i just test how to use Spring boot work with Activiti well, and next i will use Spring Cloud build a microservies stystem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 00:36:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7637#M3485</guid>
      <dc:creator>hank</dc:creator>
      <dc:date>2018-04-24T00:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: How spring boot work with activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7638#M3486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Thanks for reply. Now i just test how to use Spring boot work with Activiti well, and next i will use Spring Cloud build a microservies stystem.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 00:41:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7638#M3486</guid>
      <dc:creator>hank</dc:creator>
      <dc:date>2018-04-24T00:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: How spring boot work with activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7639#M3487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, when you start looking at Spring Cloud make sure that you check our Activiti Cloud approach, already using all the goodness of Spring Cloud, Docker and targeting Kubernetes for microservices deployments &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 12:33:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7639#M3487</guid>
      <dc:creator>salaboy</dc:creator>
      <dc:date>2018-04-24T12:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: How spring boot work with activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7640#M3488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok! Thanks for suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 05:57:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-spring-boot-work-with-activiti/m-p/7640#M3488</guid>
      <dc:creator>hank</dc:creator>
      <dc:date>2018-04-25T05:57:13Z</dc:date>
    </item>
  </channel>
</rss>

