Hi, I am having an issue when using the DocFacory API. I have copied the "Document with Composite object" process from the DocFactoryAPIExmaples process and adjusted it to my requirements, but when I pass the data object the data doesn't come through within the document.
I've created a merge field manually within the code and that comes through so the document generation is working. There seems to be something wrong when I pass the object. Is there anything I'm missing. I see that the object needs to be serializable. Not sure if data classes are by default or they need to be specified somewhere?