<?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 create a BPMN model without using activiti tools only from java code ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-bpmn-model-without-using-activiti-tools-only/m-p/13550#M5992</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very helpful example,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Is there any example doc for Add TaskListener to UserTask..?&lt;/P&gt;&lt;P&gt;This is my code and it has run time errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;&lt;PRE&gt;UserTask userTask = &lt;SPAN style="color: #0000ff;"&gt;new&lt;/SPAN&gt; UserTask(); ActivitiListener activitiListener = &lt;SPAN style="color: #0000ff;"&gt;new&lt;/SPAN&gt; ActivitiListener();&amp;nbsp; activitiListener.setEvent( TaskListener.EVENTNAME_COMPLETE ); activitiListener.setImplementation( ImplementationType.IMPLEMENTATION_TYPE_CLASS ); activitiListener.setImplementation( &lt;SPAN style="color: #800000;"&gt;"&amp;lt;my_package&amp;gt;.TestTaskListener"&lt;/SPAN&gt; );&amp;nbsp; userTask.getTaskListeners().add( activitiListener );&lt;BR /&gt;&lt;BR /&gt;And Error&lt;BR /&gt;org.activiti.engine.ActivitiException: Errors while parsing:&lt;BR /&gt;[Validation set: 'activiti-executable-process' | Problem: 'activiti-usertask-listener-implementation-missing'] : Element 'class' or 'expression' is mandatory on executionListener - [Extra info : processDefinitionId = my-process | processDefinitionName = my dynamic process | | id = task1 | | activityName = First task | ] ( line: 6, column: 74)&lt;/PRE&gt;&lt;P&gt;Any one familiar with this, Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2018 05:30:21 GMT</pubDate>
    <dc:creator>kalanavweerarat</dc:creator>
    <dc:date>2018-11-09T05:30:21Z</dc:date>
    <item>
      <title>How to create a BPMN model without using activiti tools only from java code ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-bpmn-model-without-using-activiti-tools-only/m-p/13546#M5988</link>
      <description>I'm working on a workflow project with activiti and i want to create a BPMN model from java without using activiti tools. for example i have 2 tasks in a model after some operation i want to update that model and add other tasks so i need to generate that from code but i can't figure that out any he</description>
      <pubDate>Tue, 18 Apr 2017 12:01:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-bpmn-model-without-using-activiti-tools-only/m-p/13546#M5988</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-04-18T12:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a BPMN model without using activiti tools only from java code ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-bpmn-model-without-using-activiti-tools-only/m-p/13547#M5989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if this is of any help:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/frederikheremans/activiti-dynamic-process" title="https://github.com/frederikheremans/activiti-dynamic-process" rel="nofollow noopener noreferrer"&gt;GitHub - frederikheremans/activiti-dynamic-process: Activiti dynamic process example&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This example is building a process model via Java code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2017 12:55:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-bpmn-model-without-using-activiti-tools-only/m-p/13547#M5989</guid>
      <dc:creator>cjose</dc:creator>
      <dc:date>2017-04-18T12:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a BPMN model without using activiti tools only from java code ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-bpmn-model-without-using-activiti-tools-only/m-p/13548#M5990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Apr 2017 14:02:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-bpmn-model-without-using-activiti-tools-only/m-p/13548#M5990</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-04-18T14:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a BPMN model without using activiti tools only from java code ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-bpmn-model-without-using-activiti-tools-only/m-p/13549#M5991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey again , is there any helpful doc where i can find how to create object such as ExclusiveGateway , EndEvent &amp;nbsp;... using java&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 11:37:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-bpmn-model-without-using-activiti-tools-only/m-p/13549#M5991</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-04-19T11:37:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a BPMN model without using activiti tools only from java code ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-bpmn-model-without-using-activiti-tools-only/m-p/13550#M5992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very helpful example,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Is there any example doc for Add TaskListener to UserTask..?&lt;/P&gt;&lt;P&gt;This is my code and it has run time errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SyntaxEditor Code Snippet&lt;/P&gt;&lt;PRE&gt;UserTask userTask = &lt;SPAN style="color: #0000ff;"&gt;new&lt;/SPAN&gt; UserTask(); ActivitiListener activitiListener = &lt;SPAN style="color: #0000ff;"&gt;new&lt;/SPAN&gt; ActivitiListener();&amp;nbsp; activitiListener.setEvent( TaskListener.EVENTNAME_COMPLETE ); activitiListener.setImplementation( ImplementationType.IMPLEMENTATION_TYPE_CLASS ); activitiListener.setImplementation( &lt;SPAN style="color: #800000;"&gt;"&amp;lt;my_package&amp;gt;.TestTaskListener"&lt;/SPAN&gt; );&amp;nbsp; userTask.getTaskListeners().add( activitiListener );&lt;BR /&gt;&lt;BR /&gt;And Error&lt;BR /&gt;org.activiti.engine.ActivitiException: Errors while parsing:&lt;BR /&gt;[Validation set: 'activiti-executable-process' | Problem: 'activiti-usertask-listener-implementation-missing'] : Element 'class' or 'expression' is mandatory on executionListener - [Extra info : processDefinitionId = my-process | processDefinitionName = my dynamic process | | id = task1 | | activityName = First task | ] ( line: 6, column: 74)&lt;/PRE&gt;&lt;P&gt;Any one familiar with this, Please help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 05:30:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-bpmn-model-without-using-activiti-tools-only/m-p/13550#M5992</guid>
      <dc:creator>kalanavweerarat</dc:creator>
      <dc:date>2018-11-09T05:30:21Z</dc:date>
    </item>
  </channel>
</rss>

