| ProcessControllerReassignActivity Method (Int32, AssigneeContainer, Boolean) |
Reassigns an activity instance to a set of assignees - or adds a set of assignees to the users and groups that are already assigned to the activity.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic List<int> ReassignActivity(
int activityId,
AssigneeContainer assignees,
bool preserveExistingAssignees = false
)
Parameters
- activityId
- Type: SystemInt32
Id of an activity instance.
- assignees
- Type: Omada.OE.ModelAssigneeContainer
The set of new assignees for the activity.
If preserveExistingAssignees is false the current assignees of the activity are replaced with the specified ones.
If preserveExistingAssignees is true the specified assignees are added to the users and groups that are already assigned to the activity.
- preserveExistingAssignees (Optional)
- Type: SystemBoolean
Should the users and groups that are already assigned to the activity be preserved?
The method will not create new work items for preserved assignees (except if a preserved assignee is also amongst the specified assignees).
Return Value
Type:
ListInt32
Returns ids of the users that new work items have been created for.
Can return null.
See Also