I have Create a simple Process with a Service Task. I create a XSSF workbook and add Data from Database to Fill the xlsx sheet.
I then use a DocumentValue class to convert the workbook to Bonita Document variable which can be downloaded in process Forms.
The Apache POI jar is added to Dependency and manage jars section.
So far, this works well. I am able to achieve exactly what I was hoping for.