Something went wrong on our end
-
Johannes Hörmann authoredJohannes Hörmann authored
grantDeleteProcess.js 565 B
import("system.neon");
import("Context_lib");
import("ActivityTask_lib");
import("Document_lib");
import("system.vars");
import("system.result");
// TODO: Commented because of performance problems: in Filter view this Process is called for every row. Waiting for bugfix
//result.string(!DocumentUtil.hasDocuments("CAMPAIGN", null, vars.get("$field.CAMPAIGNID"))
// && !TaskUtils.hasTasks(vars.get("$field.CAMPAIGNID"), ContextUtils.getCurrentContextId())
// && !ActivityUtils.hasActivities(vars.get("$field.CAMPAIGNID"), ContextUtils.getCurrentContextId()));