cancel
Showing results for 
Search instead for 
Did you mean: 

Parsing custom extensionElements in 5.12

das
Champ in-the-making
Champ in-the-making
Hi,

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
20 REPLIES 20

pkromolowski
Champ in-the-making
Champ in-the-making
I have the same problem. Is there a way to access the XML structure directly from BpmnParseHandlers?

Thanks.

jbarrez
Star Contributor
Star Contributor
It seems we have not completely made the new approach backwards compatible with the old one. The new BPMN model classes don't expose it currently. I'll make sure we add it.

Unfortunately, this means 5.12 is not usable for you if you depend on that feature. You could always try to fetch the xml yourself and parse it, but that is really cumbersome of course…

pkromolowski
Champ in-the-making
Champ in-the-making
Thank you! Does it mean that we may expect this feature in 5.13 or in some "intermediate" builds?

das
Champ in-the-making
Champ in-the-making
Thank you for the answer.

I'll keep using 5.11 until this is added.

jbarrez
Star Contributor
Star Contributor
Thank you! Does it mean that we may expect this feature in 5.13 or in some "intermediate" builds?

Yes, it is important enough to fix it for 5.13. We might indeed push out a stable snapshot version in a few weeks.

conradi
Champ in-the-making
Champ in-the-making
I just wanted to add that we have the same issue.

For an intermediate solution, it would even suffice to patch our local activiti with the appropriate git commit.

conradi
Champ in-the-making
Champ in-the-making
There is the same problem when trying to get custom attributes of a Task.

trademak
Star Contributor
Star Contributor
Yes, this is on our roadmap for 5.13. We'll try to add the necessary functionality ASAP.

Best regards,

sebastian_s
Champ in-the-making
Champ in-the-making
I could not find the JIRA issue for this problem. Please point me to the JIRA issue.

Thanks.