I have created a set of variables inside my BPM.
I am setting them within a custom code block. This works fine.
I then proceed to the next custom code block and consume some of the variables. At this point, the variable values have been set to null.
I assumed that the BPM variables created and set via custom code would persist throughout the execution scope of the BPM, but it seems to only set them for the scope of that particular code block. It only “sticks” for the life of the BPM if I use the Set Variable widget.
Is this expected?