<?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 Accessing custom BPMN 2.0-attributes during execution in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/accessing-custom-bpmn-2-0-attributes-during-execution/m-p/107607#M75375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Activiti Community,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the tasks in my process definition have custom attributes (which is allowed by the BPMN 2.0) spec. Is there way in Activiti to access these attributes during execution of the task? Or are custom attributes in the process definition simply ignored and stored nowhere?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In jBPM 3.2 there was a similar feature where you could list key-value-pairs under the &amp;lt;configuration&amp;gt;-element of a task. These values were then injected into the attributes/member variables whose names matched the keys. At runtime you were able to access the values stored in the member variables of the Java Delegation Class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sebastian&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Feb 2012 17:39:55 GMT</pubDate>
    <dc:creator>sebastian_s</dc:creator>
    <dc:date>2012-02-22T17:39:55Z</dc:date>
    <item>
      <title>Accessing custom BPMN 2.0-attributes during execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-custom-bpmn-2-0-attributes-during-execution/m-p/107607#M75375</link>
      <description>Hello Activiti Community,the tasks in my process definition have custom attributes (which is allowed by the BPMN 2.0) spec. Is there way in Activiti to access these attributes during execution of the task? Or are custom attributes in the process definition simply ignored and stored nowhere?In jBPM 3</description>
      <pubDate>Wed, 22 Feb 2012 17:39:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-custom-bpmn-2-0-attributes-during-execution/m-p/107607#M75375</guid>
      <dc:creator>sebastian_s</dc:creator>
      <dc:date>2012-02-22T17:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing custom BPMN 2.0-attributes during execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-custom-bpmn-2-0-attributes-during-execution/m-p/107608#M75376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Digging around in the source code a bit I found out that I can access properties - but only if I implement the ActivityBehavior-Interface instead of the JavaDelegate. Furthermore it seems that custom attributes are ignored while the parsing is done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a reason against exposing the properties to the JavaDelegate-Interface? I would not want to implement the ActivityBehavior-Interface since this is too close too the PVM and not the public API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 19:02:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-custom-bpmn-2-0-attributes-during-execution/m-p/107608#M75376</guid>
      <dc:creator>sebastian_s</dc:creator>
      <dc:date>2012-02-22T19:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing custom BPMN 2.0-attributes during execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-custom-bpmn-2-0-attributes-during-execution/m-p/107609#M75377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just found a post with the relevant information for me:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?t=371&amp;amp;p=11539" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?t=371&amp;amp;p=11539&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Check out class ParseListener. You can configure a list of those that in the BpmnDeployer in the ProcessEngineConfiguration.&lt;BR /&gt;You can add an implementation that reads your extension elements and custom attributes and store the information in the generic properties map in the PvmActivity. Then it is available during runtime.&lt;BR /&gt;&lt;BR /&gt;Is that the kind of pluggability your looking for?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;So I should be fine with implementing a ParseListener. The only thing bothering me is that this generic properties map does not seem to be available via the JavaDelegate interface.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2012 19:12:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-custom-bpmn-2-0-attributes-during-execution/m-p/107609#M75377</guid>
      <dc:creator>sebastian_s</dc:creator>
      <dc:date>2012-02-22T19:12:28Z</dc:date>
    </item>
  </channel>
</rss>

