| Previous | Next |  | Contents | Index | Glossary

## AssignActivity

PL/SQL Syntax

`procedure AssignActivity`

        (itemtype in varchar2,

         itemkey in varchar2,

         activity in varchar2,

         performer in varchar2);

Description

Assigns or reassigns an activity to another performer. This procedure may be called before the activity is transitioned to. For example, a function activity earlier in the process may determine the performer of a later activity.

If a new user is assigned to a notification activity that already has an outstanding notification, the outstanding notification is canceled and a new notification is generated for the new user by calling WF_Notification.Transfer.

Arguments (input) | itemtypeA valid item type.
itemkey | A string generated from the application object's primary key. The string uniquely identifies the item within an item type. The item type and key together identify the process.
activity | The label name of the activity node. If the activity node label name does not uniquely identify the activity node you can precede the label name with the internal name of its parent process. For example, <parent_process_internal_name>:<label_name>.
performer | The name of the user who will perform the activity (the user who receives the notification). The name should be a role name from the Oracle Workflow directory services.

| Previous | Next |  | Contents | Index | Glossary