Is there a way to start a process that has a form and also process variables?
As if I was calling this method giving the process form properties
formService.submitStartFormData(processDefinition.getId(), startProcessInstance.getFormProperties());
and this method giving the process process variables?
runtimeService.startProcessInstanceByKey(startProcessInstance.getProcessDefinitionId(), startProcessInstance.getVariables());