| ProcessControllerReassignActivity Method (Int32, IEnumerableInt32, Boolean, SqlConnection, SqlTransaction) |
Reassigns an activity to one or more users or groups.
Namespace:
Omada.OE.AppLogic
Assembly:
Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntaxpublic static void ReassignActivity(
int activityId,
IEnumerable<int> assigneeIds,
bool convertPersonalGroups,
SqlConnection dbConnection,
SqlTransaction dbTransaction
)
Parameters
- activityId
- Type: SystemInt32
Specifies the id of the activity to be reassigned.
The activity can be either a template or an instance.
- assigneeIds
- Type: System.Collections.GenericIEnumerableInt32
Specifies the ids of the users and/or groups that the activity must be reassigned to.
Must not contain ids of personal user groups - this will cause an exception.
If convertPersonalGroups is true the method will, however, convert personal groups to users.
- convertPersonalGroups
- Type: SystemBoolean
If set to true the method will automatically convert personal groups to users.
- dbConnection
- Type: System.Data.SqlClientSqlConnection
- dbTransaction
- Type: System.Data.SqlClientSqlTransaction
See Also