do you get any errors when you deploy and run this process?
In general, placing your custom code in console should work properly. If you like, please upload your process here so we could take a look at it.
Cheers
Reply to this message by going to Community
Start a new discussion in jBPM Development at Community