<?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: Extending BPMN 2.0 Activities in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/extending-bpmn-2-0-activities/m-p/123181#M86739</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you frederik, I'll take a look at it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2013 12:33:41 GMT</pubDate>
    <dc:creator>gokceng1</dc:creator>
    <dc:date>2013-04-03T12:33:41Z</dc:date>
    <item>
      <title>Extending BPMN 2.0 Activities</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-bpmn-2-0-activities/m-p/123179#M86737</link>
      <description>Hey,I've searched and found some links about extending tasks(call activities, gateways etc) but they are very old, about Activiti 5.0. I want to extend process -but my question is about general situation-.Which way do you suggest me to go?There are 'customDefaultBpmnParseHandlers', but I think I nee</description>
      <pubDate>Mon, 01 Apr 2013 19:41:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-bpmn-2-0-activities/m-p/123179#M86737</guid>
      <dc:creator>gokceng1</dc:creator>
      <dc:date>2013-04-01T19:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Extending BPMN 2.0 Activities</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-bpmn-2-0-activities/m-p/123180#M86738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As of activiti 5.12, there is a ActivityBehaviourFactory, which creates instances of the right ActivityBehaviours used for all the BPMN-constructs that are present in your XML-file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Javadoc says it all. You can extend the org.activiti.engine.impl.bpmn.parser.factory.DefaultActivityBehaviorFactory class and implement the methods you want to have custom ActivityBehaviours for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;/**&lt;BR /&gt; * Factory class used by the {@link BpmnParser} and {@link BpmnParse} to instantiate&lt;BR /&gt; * the behaviour classes. For example when parsing an exclusive gateway, this factory&lt;BR /&gt; * will be requested to create a new {@link ActivityBehavior} that will be set on the &lt;BR /&gt; * {@link ActivityImpl} of that step of the process and will implement the spec-compliant&lt;BR /&gt; * behavior of the exclusive gateway.&lt;BR /&gt; * &lt;BR /&gt; * You can provide your own implementation of this class. This way, you can give&lt;BR /&gt; * different execution semantics to a standard bpmn xml construct. Eg. you could&lt;BR /&gt; * tweak the exclusive gateway to do something completely different if you would want that.&lt;BR /&gt; * Creating your own {@link ActivityBehaviorFactory} is only advisable if you&lt;BR /&gt; * want to change the default behavior of any BPMN default construct.&lt;BR /&gt; * And even then, think twice, because it won't be spec compliant bpmn anymore.&lt;BR /&gt; * &lt;BR /&gt; * Note that you can always express any custom step as a service task with a class delegation.&lt;BR /&gt; * &lt;BR /&gt; * The easiest and advisable way to implement your own {@link ActivityBehaviorFactory} &lt;BR /&gt; * is to extend the {@link DefaultActivityBehaviorFactory} class and override &lt;BR /&gt; * the method specific to the {@link ActivityBehavior} you want to change. &lt;BR /&gt; * &lt;BR /&gt; * An instance of this interface can be injected in the {@link ProcessEngineConfigurationImpl}&lt;BR /&gt; * and its subclasses. &lt;BR /&gt; * &lt;BR /&gt; * @author Joram Barrez&lt;BR /&gt; */&lt;BR /&gt;public interface ActivityBehaviorFactory {&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 07:51:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-bpmn-2-0-activities/m-p/123180#M86738</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-04-03T07:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Extending BPMN 2.0 Activities</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-bpmn-2-0-activities/m-p/123181#M86739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you frederik, I'll take a look at it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 12:33:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-bpmn-2-0-activities/m-p/123181#M86739</guid>
      <dc:creator>gokceng1</dc:creator>
      <dc:date>2013-04-03T12:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Extending BPMN 2.0 Activities</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/extending-bpmn-2-0-activities/m-p/123182#M86740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Frederic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am interested in the customization of ScriptTask behaviorand I would like to understand how I can integrate the extended DefaultActivityBehaviorFactory class in a standalone mode. Currently I setup the process engine configuration by doing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessEngineConfiguration conf = QAProcessEngineConfiguration.createStandaloneProcessEngineConfiguration();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; conf.setDatabaseType("mysql");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; conf.setJdbcDriver("com.mysql.jdbc.Driver");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; conf.setJdbcUrl("jdbc:mysql://localhost/activiti");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; conf.setJdbcUsername("test");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; conf.setJdbcPassword("test");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; conf.setMailServerHost("smtp.gmail.com");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; conf.setMailServerPort(587);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; conf.setMailServerUsername("&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:xxxx@gmail.com" rel="nofollow noopener noreferrer"&gt;xxxx@gmail.com&lt;/A&gt;&lt;SPAN&gt;");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; conf.setMailServerPassword("xxxx");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; conf.setMailServerUseTLS(true);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; conf.buildProcessEngine(); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you give an example how doing that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank's &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jan 2015 19:13:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/extending-bpmn-2-0-activities/m-p/123182#M86740</guid>
      <dc:creator>ritz57</dc:creator>
      <dc:date>2015-01-04T19:13:29Z</dc:date>
    </item>
  </channel>
</rss>

