apache / incubator-kie-tools

Tools for KIE
Apache License 2.0
248 stars 182 forks source link

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

Open Handsome1337 opened 2 weeks ago

Handsome1337 commented 2 weeks 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 5 days ago

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