BPM start process NPE if only call saveInjectedProcessVariables

Hi team,

If I start a process by this:

processFormContext.processStarting()
            .saveInjectedProcessVariables()
            .start();

It will throw NPE in ProcessStartingImpl.java at:
image

The reason is processVariables only initialized in #addProcessVariable(), but I didn’t call this method.

Jmix & BPM version: 1.3.2

Hi,

I’ve created an issue. Thanks for reporting!