# 22. Virtuoso Functions Guide - BPEL.BPEL.instance_delete

Chapter Contents | Prev | Next
Keyword Search:
www.openlinksw.com
docs.openlinksw.com
Book Home
Contents
Preface
Virtuoso Functions Guide
Administration
Aggregate Functions
Array Manipulation
BPEL APIs
bpel.bpel.compile_sc...
bpel.bpel.copy_scrip...
bpel.bpel.getvariabl...
bpel.bpel.get_partne...
bpel.bpel.import_scr...
bpel.bpel.instance_d...
bpel.bpel.plink_get_...
bpel.bpel.plink_set_...
bpel.bpel.purge_inst...
bpel.bpel.script_del...
bpel.bpel.script_obs...
bpel.bpel.script_sou...
bpel.bpel.script_upl...
bpel.bpel.setvariabl...
bpel.bpel.wsdl_uploa...
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web Server & Internet
XML
XPATH & XQUERY
Functions Index

## BPEL.BPEL.instance_delete

delete a BPEL process instance
BPEL.BPEL.instance_delete (in id int);
Parameters
id – int instance identifier
Return Types

this function has no return value

Description

BPEL.BPEL.instance_delete Deletes the instance, regardless of completion state or such. If there are waits for the instance the waits are flagged as deleted, not physically deleted. This will cause the reply message to be received instead of going to the unexpected messages queue.

Examples
Simple example

The following will delete process instance with ID equal to 5

    	  SQL> BPEL.BPEL.instance_delete (5);
              Done. -- 10 msec.