<?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 Custom activity with custom attribute for service task in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-activity-with-custom-attribute-for-service-task/m-p/149048#M104066</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to create a service task which has a custom attribute like activiti:customTask which is similar to activiti:class but implementing my custom interface instead of JavaDelegate. I went through parsing and behavior part of the code and think below would be the steps. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Define a custom parseHandler which extends from ServiceTaskParseHandler(since its a service task) and checks for the custom attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Define a custom behavior factory which overrides the createTaskActivityBehavior() to create a custom behavior object implementing TaskActivityBehavior which takes the user class object (UserClass which implements MyInterface instead of JavaDelegate).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Define a custom task invocation extending DelegateInvocation to handle the custom task class invocation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Define a xml converter(extending ServiceTaskXMLConverter) to add the implementation type to ServiceTask object provided through activiti:customTask attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I am able to find properties in ProcessEngineConfigurations for parseHandler and activityBehaviorFactory to take my custom classes, but could not find how to set the XMLConverter in the ProcessEngineConfigurations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me understand how to add my custom xml converter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shishir&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Aug 2013 14:51:13 GMT</pubDate>
    <dc:creator>shishirg</dc:creator>
    <dc:date>2013-08-30T14:51:13Z</dc:date>
    <item>
      <title>Custom activity with custom attribute for service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-activity-with-custom-attribute-for-service-task/m-p/149048#M104066</link>
      <description>Hi,I want to create a service task which has a custom attribute like activiti:customTask which is similar to activiti:class but implementing my custom interface instead of JavaDelegate. I went through parsing and behavior part of the code and think below would be the steps. 1. Define a custom parseH</description>
      <pubDate>Fri, 30 Aug 2013 14:51:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-activity-with-custom-attribute-for-service-task/m-p/149048#M104066</guid>
      <dc:creator>shishirg</dc:creator>
      <dc:date>2013-08-30T14:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom activity with custom attribute for service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-activity-with-custom-attribute-for-service-task/m-p/149049#M104067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;BpmnXMLConverter adds the converters, but its available as private static method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I could see that it has been modified to public method. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Which version of activiti will have this change?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 08:41:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-activity-with-custom-attribute-for-service-task/m-p/149049#M104067</guid>
      <dc:creator>shishirg</dc:creator>
      <dc:date>2013-09-02T08:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom activity with custom attribute for service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-activity-with-custom-attribute-for-service-task/m-p/149050#M104068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The next version of Activiti will have this change. We will release a new version somewhere between mid to end September.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 17:06:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-activity-with-custom-attribute-for-service-task/m-p/149050#M104068</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2013-09-02T17:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom activity with custom attribute for service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-activity-with-custom-attribute-for-service-task/m-p/149051#M104069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the info. Is there a work-around I can use to add my Custom XML Converter in the meantime?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2013 06:20:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-activity-with-custom-attribute-for-service-task/m-p/149051#M104069</guid>
      <dc:creator>shishirg</dc:creator>
      <dc:date>2013-09-03T06:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Custom activity with custom attribute for service task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-activity-with-custom-attribute-for-service-task/m-p/149052#M104070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Probably the only thing is baking your own 'release' of activiti, taking the current github state&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 09:50:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-activity-with-custom-attribute-for-service-task/m-p/149052#M104070</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2013-09-04T09:50:20Z</dc:date>
    </item>
  </channel>
</rss>

