Parsing custom extensionElements in 5.12

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-07-2013 03:47 PM
I'm using custom <extensionElements> to create taskListeners for specific tasks.
In 5.11 I'm using a BpmnParseListener and reading the tags via "taskElement.element("extensionElements").elementsNS(..)".
I tried the new BpmnParseHandler, but the XML information is not available.
As far as I could find, all XML info is parsed in BpmnXMLConverter and converted into POJOs to be used in the parse handlers.
Any pointers on how to handle custom XML extensions in 5.12?
Thanks
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-03-2013 07:38 AM
please point me to the JIRA issue.
Thanks a lot.
Sebastian

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-04-2013 03:00 AM
http://jira.codehaus.org/browse/ACT-1683
The work in the parser has been done already, we only need to upgrade the designer with the new JARs.
Would be good if you could give it a try on the current Github master version. There is a method getExtensionElements() that can be used to get the extension elements of a BPMN element.
Best regards,

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2013 04:01 AM
I am now downloading Activiti 5.13, but I must ask you this question - did you manage to fix the issue above in the new version ? I couldn't find it in the Changelog and will only be able to check this out in the evening.
Thanks,
Przemek

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2013 04:29 AM
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-25-2013 03:07 PM
Sorrry, but I didn't take notice of your answer until now. Now that 5.13 has been released it's a bit late but I am sure I'll have a look at it since we also depend on extension elements.

Przemek, thank you for keeping the rest on us on the forums updated on this.
Best regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-27-2013 05:30 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-09-2013 10:17 AM
For example:
<code>
<userTask id="usertask1" name="Task A">
<extensionElements>
<myext:attributes>
<myext:attribute name="Attr1" value="1" />
<myext:attribute name="Attr2" value="2" />
</myext:attributes>
</extensionElements>
</userTask>
</code>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2013 10:25 AM
I pinged Tijs (who wrote this code) to clarify/fix.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2013 02:53 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2013 02:32 AM
https://github.com/Activiti/Activiti/commit/6c0563799439dfa5ab662e51d9725649860a6d67
Best regards,
