Oracle Workflow API Reference Release 2.6.3 Part Number B10286-02 |
Previous | Next | Contents | Index | Glossary |
procedure ResumeProcess
(itemtype in varchar2,
itemkey in varchar2,
process in varchar2 default '');
Java Syntax
public static boolean resumeProcess
(WFContext wCtx,
String itemType,
String itemKey,
String process)
Description
Returns a suspended process to normal execution status. Any activities that were transitioned to while the process was suspended are now executed.
Arguments (input)
wCtx | Workflow context information. Required for the Java method only. See: Oracle Workflow Context. |
itemtype | A 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. See: CreateProcess. |
process | An optional argument that allows the selection of a particular subprocess for that item type. Provide the process activity's label name. If the process activity label name does not uniquely identify the subprocess you can precede the label name with the internal name of its parent process. For example, <parent_process_internal_name>:<label_name>. If this argument is null, the top level process for the item is resumed. This argument defaults to null. |
The following code excerpt shows an example of how to call resumeProcess() in a Java program. The example code is from the WFTest.java program.
// resume process and status should be ACTIVE
System.out.println("Resume Process " + iType +"/"+ iKey +
" ...");
if (WFEngineAPI.resumeProcess(ctx, iType, iKey, null))
System.out.println("Seems to resume successfully");
else
{
System.out.println("resume failed");
WFEngineAPI.showError(ctx);
}
Previous | Next | Contents | Index | Glossary |