Is there a provision in activiti to call custom java code to evaluate the transition for a gateway. I want to call a java method that decides and returns which transition has to be taken next. I had a similar usecase earlier with JBPM, where decision handler did it for me.