Replace the use of anonymous class implementing FunctionHandler interface by lambda (in the workflowdesigner package).