Previous  Next          Contents  Index  Glossary  Library

AbortProcess

Syntax

procedure AbortProcess

    (itemtype in varchar2,
     itemkey in varchar2,
     process in varchar2 default '',
     result_code in varchar2 default eng_force);

Description

Aborts process execution and cancels outstanding notifications. The process is considered complete, with a status specified by the

result_code
argument.

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. 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 aborted. This argument defaults to null.
result_code A status assigned to the aborted process. The result code must be one of the values defined in the process Result Type, or one of the following standard engine values:
eng_exception
eng_timeout
eng_force
eng_mail
eng_null
This argument defaults to "eng_force".


         Previous  Next          Contents  Index  Glossary  Library