Standard SmartObjects: Workflow Task Allocation
You can use the Workflow Task Allocation SmartObjects to perform recipient assignment operations in a user task. For example, you can use the Round Robin SmartObject (RoundRobinSO) to allocate tasks for a defined set of users, so that a task is assigned to one user in the group, the next task is assigned to the next user in the group, and so on.
The tables below display the methods and properties returned byof workflow task allocation SmartObjects. Note that not all properties are returned for all methods.
Task Allocation SmartObjects |
---|
RoundRobinSO
This SmartObject is used internally by the Get Round Robin method of the TaskAllocationRoleMethods SmartObject.
Methods
Method | Required Input Properties | Optional Input Properties | Returned Properties | Notes |
---|---|---|---|---|
Create |
|
|
|
Adds an entry to the RoundRobin table. |
Delete |
|
|
|
Removes an entry to the RoundRobin table. |
Get List |
|
|
|
Retrieves a list of items from the Round Robin table. |
Load |
|
|
|
Reads a specific item from the Round Robin table. |
Save |
|
|
|
Updates or creates an item in the round robin table. |
Properties
Name | Type | Example | Notes |
---|---|---|---|
LastDateTime | Text | 2020-01-02T00:00:00 | Returns the value from the SmartObject record queried in a date and time format. If there is no value in the SmartObject record, this property is empty. |
LastUserName | Text | Smith, Roberts | Returns the value from the SmartObject record queried. If there is no value in the SmartObject record, this property is empty. |
RoleName | Text | Finance, Documentation | Returns the value from the SmartObject record queried. This is also the required input property. |
TaskAllocationADMethods
Use this SmartObject to determine Managers or Direct Reports for a user.
Methods
Method | Required Input Properties | Optional Input Properties | Returned Properties | Notes |
---|---|---|---|---|
Get Direct Reports |
|
|
|
Returns the users who report directly to this person. |
Get Manager |
|
|
|
Returns the direct manager of this person. |
Properties
Name | Type | Example | Notes |
---|---|---|---|
ManagerName | Text | John Smith | Manager's display name. |
UserName | Text | K2:Denallix\Administrator | User's account name. |
TaskAllocationRoleMethods
Use this SmartObject to return user names for use when allocating tasks in different ways, such as round-robin, least work, most work, fastest user, and slowest User.
Methods
Method | Required Input Properties | Optional Input Properties | Returned Properties | Notes |
---|---|---|---|---|
Get Fastest User |
|
|
|
Returns the user who completes their work the fastest. |
Get Least Work |
|
|
|
Returns the user with the least amount of tasks. |
Get Most Work |
|
|
|
Returns the user with the most tasks. |
Get Role Peers |
|
|
|
Returns the peers of the current user for the specified role. |
Get Round Robin |
|
|
|
Returns the next user in a round-robin task allocation scenario. |
Get Slowest User |
|
|
|
Returns the user who completes their work the slowest. |
Properties
Name | Type | Example | Notes |
---|---|---|---|
MaxTime | Number | 1, 2, 3 | |
MinTime | Number | 1, 2, 3 | |
RoleName | Text | Finance, Everyone | Existing role name. |
UserName | Text | K2:Denallix\Administrator | User's account name. |
Users and Groups
Use this SmartObject to retrieve details about specific groups or users.
Methods
Method | Required Input Properties | Optional Input Properties | Returned Properties | Notes |
---|---|---|---|---|
Get Email For Group |
|
|
|
Returns details for a specific group. |
Get Email For Group Users |
|
|
|
Returns details for users in a group. |
Get Email For Role Users |
|
|
|
Returns details for users in a role. |
Get Email For User |
|
|
|
Returns details for a specific user. |
Properties
Name | Type | Example | Notes |
---|---|---|---|
Description | Text | Finance group for approving travel requests. | |
Display Name | Text | Denallix\Finance or Denallix Administrator | Group account name or display name, depending on the method executed. |
Text | Finance@denallix.com | Group email address. | |
Fully Qualified Name | Text | K2:Denallix\Administrator | User's account name including provider label. |
Manager | Text | Denallix\Administrator | Manager's account name. |
Name | Text | Denallix\Finance | Group account name. |
SIP Account | Text | ||
User Name | Text | Denallix\Administrator | User's account name. |