The procedure WF_RENAME renames an existing workflow.
The procedure raises an exception under the following conditions:
If a workflow with the new name already exists
If the workflow is either already running or opened by Oracle Data Miner
The procedure to rename the workflow:
PROCEDURE WF_RENAME(p_workflowId IN NUMBER,
p_workflow_name IN VARCHAR2,
p_mode IN CHAR DEFAULT 'R')
Table 8-6 lists the parameters that are used in the WF_RENAME procedure.
Table 8-6 List of Parameters for WF_RENAME Procedure
| Parameters | Description |
|---|---|
|
p_workflow_id |
Specify the workflow ID to rename. |
|
p_workflow_name |
Specify the new workflow name. |
|
p_mode |
This parameter is for internal use only. |
Parent topic: PL/SQL APIs