- The problem arises when you run the method "routeCase" through web services, in the execution of the triggers can not access variables like @ @ APPLICATION. - The problem is solved by keeping the variables @ @ APPLICATION and others in the execution of method "derivateCase"