apache / incubator-kie-tools

Tools for KIE
Apache License 2.0
252 stars 185 forks source link

Convert work item definition (.wid) to json #2673

Open Handsome1337 opened 1 month ago

Handsome1337 commented 1 month ago

I'm making a frontend application for study that uses bpmn-js to display diagrams and I use BPMN Editor Red Hat extension for vs code (https://github.com/kiegroup/kie-tools) as a reference. I have a .wid file in the global directory to add custom task elements. In the extension it works perfectly, but in my application I need to parse .wid content to JSON format. How can I do it? I didn't find parsers or converters like that in the source code although the extension is written in TypeScript. One of the mantainers direct me here so I hope you can help me with that. Thank you.

tiagobento commented 3 weeks ago

If I'm not mistaken, .wid files use MVEL syntax.