Need to use ModuleType.TRIGGER.getTypeName() instead  of string constant.