Special thanks to @nikku for putting me on the right path. I was trying to do the solution to BMPB-AutoDoc by using the SVG rather than the BPMN. It was a"Learning experience" or a fail depending on your point of view,
The new direction is to use Camunda base to add text into the (Element Documentation) and add two new(Properties) 1. order, 2.title to any object on the BPMN diagram I want to be documented.
For example I might have an object on the BPMN that is a (userTask) with text that is “Perform Review”.
(Element Documentation} Review content of the request, determine if it is a duplicate, contact requester, backfill missing information in a note. Determine if the request should proceed.
The new properties would have been entered as:
(order) 60 <— Used to print documentation in your specified order
(title) Review and update content, a decision to proceed
On the generated ASCIIDoc file I would have a table with any objects that were enhanced with documentation.
Col1 | Col 2 | Col3 | Col4
(order) (svg) (title) (Element documention}
60 | SVG Image of the user task object | Review and update content, a decision to proceed | Review content of the request, determine if it is a duplicate, contact requester, backfill missing information in a note. Determine if the request should proceed.
There is a ton of NODE info on various modules for BPMN and a dev guide that has been useful but I seem to be missing the glue to hold this together.
My “Glue” questions are.
I need to be able to pull the (Elelemnt Documentation), Order, Title
Can SVG for a single object be generated from the BPMN?
Again, if I headed down the wrong path I am open to any suggestions.