2022 April Release

Customization Point COOWF@1.1:ProcessOwnership Permanent link for this heading

This customization point defines the owner and the group of the workflow process. If no configuration was made, the current user is used as the owner of the process, and the group of the current role will be used as the owning group of the process. The customization point is evaluated when creating a new process in the action CreateWorkFlowObject.

Example:
customize ProcessOwnership<Object> {
  owner = expression {
    TeamRoom tr = cooobj.objteamroom;
    if (tr && tr.HasClass(#TeamRoom)) {
      return tr.objowner;
    }
    else {
      return cooobj.objowner;
    }
  }
  group = expression {
    TeamRoom tr = cooobj.objteamroom;
    if (tr && tr.HasClass(#TeamRoom)) {
      return tr.objowngroup;
    }
    else {
      return cooobj.objowngroup;
    }
  }
}

void COOWF@1.1:ProcessOwnership(
  key ObjectClass objclass,
  out optional User owner,
  out optional Group group)

Name

Description

objclass

applies to objects of the defined object class

owner

defines an expression to get the owner of the process

group

defines an expression to get the owning group of the process

Additional Information