Wonder if anyone can give me a straight answer for this. It's mostly curiosity, though might be something important.
When using jBPM, I have 2 options to declare process variables:
1) passing parameters to BPMN through java code, using a Map, where string is the variable name and Object its value
2) directly on the BPMN properties
I noticed recently that it's sufficient to declare process variables in BPMN. Should I only declare it there or should I declare it in the java class as well? What are the differences here?
Cheers