Show / Hide Table of Contents
  • CHelper
    • Methods
  • Me
    • Methods
  • Me.Assignees
    • Methods
  • Me.Case
    • Case
    • Creator
    • Organization
    • ProcessDefinition
    • WorkingCredential
  • Me.Context
    • Methods
  • Me.Task
    • Methods

Me.Assignees

Classes

Methods

This function returns the current assignee.

Bizagi provides several functions that allow you to find and manipulate information about the current assignees of the current Task. This group of functions all start with the sentence:

Me.Assignees[].

If you want to get the current assignees of a task after using the assignWorkItem function in the same event (On Enter, On Save and On Exit), use the following method.

Me.Case.getWorkItem(sTaskName).Assignees

When the function is used, an array of users is returned. To use the function it is necessary to use brackets in order to specify the index of the user. 0 (zero) is the first position of the array.

If there is only one user assigned, the sentence will be:

Me.Assignees[0].attribute

This group of functions are available in Current assignees information category.

The information available about the current assignees is:

PropertyDescription
IdReturns a collection containing the id's of all assignees of an activity.
BossIdReturns a collection containing the Boss of all assignees of an Activity.
FullNameReturns a collection containing the full name of all assignees of an Activity.
Location.NameReturns a collection containing the location of all assignees of an Activity.
PositionsReturns a collection containing the positions of a specific assignee of an Activity.
RolesReturns a collection containing the roles of a specific assignee of an Activity.
SkillsReturns a collection containing the skills of a specific assignee of an Activity.
UserNameReturns a collection containing the user name of all assignees of an Activity.
getUserProperties()Returns a collection containing a specific user property of all assignees of an Activity.