the above mentioned error occurs only when the gateway is within a sub process.
Reply to this message by going to Community
Start a new discussion in jBPM Development at Community