you could use java or mvel or drools rule. Note that conditions are specified on the sequence flows that are going out of the gateway. Take a look at the jbpm-examples project that is shipped with jbpm for more details and the docs.
HTH
Reply to this message by going to Community
Start a new discussion in jBPM Development at Community