<?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: Integrate JSF  and SPRING with ACTIVITI in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/integrate-jsf-and-spring-with-activiti/m-p/15369#M6797</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the project is already done with spring so i already have my JSF pages , no i have to integrate Activiti Engine i started by creating a simple process to bind to my JSF pages :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st : i created method to retrieve workflow object :&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;protected &amp;nbsp;EndEvent createEndEvent() {&lt;BR /&gt; EndEvent endEvent = new EndEvent();&lt;BR /&gt; endEvent.setId("end");&lt;BR /&gt; return endEvent;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; ProcessEngine processEngine = ProcessEngineConfiguration.createStandaloneInMemProcessEngineConfiguration()&lt;BR /&gt; .setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE)&lt;BR /&gt; .setJdbcUrl("jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000")&lt;BR /&gt; .buildProcessEngine();&lt;/P&gt;&lt;P&gt;RuntimeService runtimeService = processEngine.getRuntimeService();&lt;BR /&gt; RepositoryService repositoryService = processEngine.getRepositoryService();&lt;BR /&gt; TaskService taskService = processEngine.getTaskService();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//3 rd Build up the model &amp;nbsp;:&lt;/P&gt;&lt;P&gt;BpmnModel model = new BpmnModel();&lt;BR /&gt; org.activiti.bpmn.model.Process process = new org.activiti.bpmn.model.Process();&lt;BR /&gt; model.addProcess(process);&lt;BR /&gt; process.setId("my-process");&lt;/P&gt;&lt;P&gt;process.addFlowElement(createStartEvent());&lt;BR /&gt; process.addFlowElement(createUserTask("task1", "First task", "XXXX"));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i generated the graphical information, deployed the&amp;nbsp;process to engine , startred the process instance and generated the process diagram.png and .bpmn20.xml .&lt;/P&gt;&lt;P&gt;So now i need to bind this process to my JSF pages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Apr 2017 07:45:59 GMT</pubDate>
    <dc:creator>ilyass_act</dc:creator>
    <dc:date>2017-04-20T07:45:59Z</dc:date>
    <item>
      <title>Integrate JSF  and SPRING with ACTIVITI</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/integrate-jsf-and-spring-with-activiti/m-p/15367#M6795</link>
      <description>Hi i'm working on JEE project and i have to integrate activiti Engine , So i need to create the Model from java code and bind it to my JSF pages .&amp;nbsp;- Is there a way to do that&amp;nbsp;- Is there any helpful ressources where i can find these documented .</description>
      <pubDate>Wed, 19 Apr 2017 16:09:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/integrate-jsf-and-spring-with-activiti/m-p/15367#M6795</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-04-19T16:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate JSF  and SPRING with ACTIVITI</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/integrate-jsf-and-spring-with-activiti/m-p/15368#M6796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No sure I understand the question.&lt;/P&gt;&lt;P&gt;What "model" do you need to create from Java code?&lt;/P&gt;&lt;P&gt;What sort of integration are you looking to do? (loosely coupled, tightly coupled, fully embedded), there are examples available of all of these patterns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked out the book (Activiti in Action)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 17:50:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/integrate-jsf-and-spring-with-activiti/m-p/15368#M6796</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-04-19T17:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate JSF  and SPRING with ACTIVITI</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/integrate-jsf-and-spring-with-activiti/m-p/15369#M6797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the project is already done with spring so i already have my JSF pages , no i have to integrate Activiti Engine i started by creating a simple process to bind to my JSF pages :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st : i created method to retrieve workflow object :&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;protected &amp;nbsp;EndEvent createEndEvent() {&lt;BR /&gt; EndEvent endEvent = new EndEvent();&lt;BR /&gt; endEvent.setId("end");&lt;BR /&gt; return endEvent;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; ProcessEngine processEngine = ProcessEngineConfiguration.createStandaloneInMemProcessEngineConfiguration()&lt;BR /&gt; .setDatabaseSchemaUpdate(ProcessEngineConfiguration.DB_SCHEMA_UPDATE_TRUE)&lt;BR /&gt; .setJdbcUrl("jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000")&lt;BR /&gt; .buildProcessEngine();&lt;/P&gt;&lt;P&gt;RuntimeService runtimeService = processEngine.getRuntimeService();&lt;BR /&gt; RepositoryService repositoryService = processEngine.getRepositoryService();&lt;BR /&gt; TaskService taskService = processEngine.getTaskService();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//3 rd Build up the model &amp;nbsp;:&lt;/P&gt;&lt;P&gt;BpmnModel model = new BpmnModel();&lt;BR /&gt; org.activiti.bpmn.model.Process process = new org.activiti.bpmn.model.Process();&lt;BR /&gt; model.addProcess(process);&lt;BR /&gt; process.setId("my-process");&lt;/P&gt;&lt;P&gt;process.addFlowElement(createStartEvent());&lt;BR /&gt; process.addFlowElement(createUserTask("task1", "First task", "XXXX"));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i generated the graphical information, deployed the&amp;nbsp;process to engine , startred the process instance and generated the process diagram.png and .bpmn20.xml .&lt;/P&gt;&lt;P&gt;So now i need to bind this process to my JSF pages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 07:45:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/integrate-jsf-and-spring-with-activiti/m-p/15369#M6797</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-04-20T07:45:59Z</dc:date>
    </item>
  </channel>
</rss>

