cancel
Showing results for 
Search instead for 
Did you mean: 

Get embedded subprocess start form data

elozada
Champ in-the-making
Champ in-the-making
Hi,

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(…)

Thanks!
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
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.

elozada
Champ in-the-making
Champ in-the-making
Thanks Joram

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.