Reassigning a task to a new group
In IBM® Business Automation Workflow, there are REST APIs and JavaScript APIs that enable you to assign a task to a new group.
About this task
You can reassign a task to a user, group, or team using REST APIs or JavaScript APIs. When a group or team is updated, the associated manager team is also updated. If you assign a task to a team, the team must exist in the snapshot scope that is currently associated with the task.
If you are considering reassigning a task to a group, it is generally recommended that you reassign the task to a team from the task's current snapshot context.
If a task is reassigned to a group that is associated with a different snapshot than the task, it can cause problems for snapshot deletion. The instructions in this help topic can be used to replace an ad hoc group that might be blocking snapshot deletion.
If a task is reassigned to a group that does not have a manager team, the task's manager team will be cleared. Prior to IBM Business Automation Workflow V20.x, the assigned manager team is only changed when the task is reassigned to a group that has a manager team.
Procedure
To reassign a task to a new team: