Oracle Error QSM-00790: the workload string cannot be modified or changed because it is being used by task string

Oracle Error Message

QSM-00790: the workload string cannot be modified or changed because it is being used by task string

Reason for the Error

The user attempted to change or delete a workload that is referenced by an active task.

Solution

Remove references to a workload from any tasks that reference that workload, unless the task is in its initial task state.