AnsweredAssumed Answered

Starting process with start form and process variables

Question asked by pfeiffer on Oct 12, 2012
Latest reply on Oct 15, 2012 by frederikheremans1
I'm having difficulties starting a process with a start form. I'm using formService.submitStartFormData and after that I'm setting the variables because they contain objects that I want to serialize and they cannot be passed in the same String value map of start form properties.

Of course if the variable is needed in the beginning of the flow, no variable is present yet and my flow crashes.

I could use runtimeService to start the workflow and put everything in that variable map there but then there is no proper start form handling and validation.

It seems that it should be possible to provide both process variables and Start Form properties before a process instance is actually started. Or is there another way to do this ?

Outcomes