import("system.result"); import("system.db"); import("system.vars"); import("Contact_lib"); var organisationId = vars.get("$field.ORGANISATION_ID"); var res = OrganisationUtils.getNameByOrganisationId(organisationId); result.string(res);