In a process, using the formService.getStartFormData(processId) to retrieve initial form data is working smoothly, but I want to retrieve the initial form data within an embedded subprocess, is this possible using something like FormService.getStartFormData(…)
No, embedded subprocesses don't have a start form capability, after all they are started from within an other process. A user task with the form after the start event of the embedded subprocess would be what you need to use in this case.
We're developing a generic validator module that checks if all the parameters required for a certain process are given, this happens before attempting to initalize a new instance.
Everything's ok except for subprocesses, so the workaround was declaring inside the java class a list of parameters names within a subprocess map. The problem arises when subprocess definition changes, we have to manually change the java class.