If the specified todo is in the "Accomplished" state, the function returns the person who submitted that todo. Otherwise, the function returns null.
Throws:
Returns a set of the original performers of the specified todo, as given by the corresponding task.
Throws:
Returns a set of persons the specified todo is currently issued (visible) to, taking into account also delegation, rejection and substitution.
Throws:
Returns a set of active to-dos assigned to the specified person and not allocated by other persons.
Throws:
Returns a set of active to-dos assigned to the specified person. The parameter includeAllocatedByOthers determines whether the output set contains also to-dos assigned to the person, but currently allocated by other persons.
Throws:
Allocates the specified todo to the person. The given person must belong to the set of persons resolved from the current todo assignees, else an exception is thrown. If the todo is currently allocated to another person, the function performs reallocation.
Throws:
Unallocates the specified todo. If the todo is currently not allocated, the function has no effect.
Throws:
Changes the set of performers of the specified todo. Possible delegations and allocation of the todo are removed. If the todo has already been accomplished, the function has no effect.
Throws:
Forces rejection of the todo by the specified persons.
Throws:
Returns the currently opened to-do. If the function is not called from the context of a to-do, it returns null.
Resets the specified todo. The saved state of the todo (if any) will be deleted.
Throws:
Adds the person to the role.
Throws:
Remove the person from the role.
Throws:
Returns a person of the specified name.
Throws:
Returns a person of the specified id.
Throws:
Returns the full name of the specified person.
Throws:
Returns a profile picture of person.
Throws:
Sets or changes a profile picture for the person. If the picture is null, the person has no profile picture.
Throws:
Returns the additional properties of the specified person.
Throws:
Returns the person who has initiated the current model processing request. For instance, the person who has submitted a to-do or called a web service. In cases of receiving time events or signals the technical person “ProcessAgent” is returned.
Returns a special performer representing any known process performer. This function is used to specify access to entities (e.g., to-dos, reports, or widgets) available to all known process performers.
Returns an organization role or an organization unit specified by their name defined in the given module.
Throws:
Returns an organization role or an organization unit specified by their name and parameters defined in the given module.
Throws:
Returns a set of direct children of an organization role or unit referred to by the roleUnit parameter. In the case of a parametric RoleUnit the values of children's parameters are derived from the specified roleUnit's parameters; i.e., the value of a particular child's parameter is identical with the value of the parent's parameter of the same name.
Throws:
Returns true, if the specified person belongs to the given roleUnit in the current organization model. A person "belongs" to a given organization role or unit if it belongs to it directly or belongs to any of its descendants (evaluated recursively).
Throws:
Returns true, if the given person plays strictly the specified role, but none of its sub-roles. Therefore, this is a non-recursive version of the isPersonIn() function applied to organization roles.
Throws:
Returns a set of all persons that belong to the given roleUnit in the current organization model. A person "belongs" to a given organization role or unit if it belongs to it directly or belongs to any of its descendants (evaluated recursively).
Throws:
Returns a set of all persons that play the given role, but none of its sub-roles. Therefore, this is a non-recursive version of the personsWith() function applied to organization roles.
Throws:
Returns a set of organization roles from the current model directly assigned to the specified person.
Throws:
Returns set of email addresses of all persons in the specified roles or organisation units.
Returns a set of email addresses of the performers. If a performer is of type Person its email address is added to the result. If a performer is of type RoleUnit email addresses of all persons in that role or organization unit are added to the result.
Throws:
Deletes the specified saved documents.
Throws:
Sends an e-mail.
Deprecated: use function sendEmail with extended parameters.
Throws:
Sends an e-mail.
Deprecated: use function sendEmail with extended parameters.
Throws:
Sends an e-mail.
Throws:
A function which returns UI history. Under key 0 is always "current" page. Under positive keys are older entries (back), under negative keys less old entries (forward).