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

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.script_source_update

Updates an existing script in BPEL repository
BPEL.BPEL.script_source_update (in scp_id int, in url varchar, in content any);
Parameters
scp_id – int the ID of the BPEL script to be updated with new source
url – varchar the URL to the script source
content – any as an alternative this is to specify script source directly.
Return Types

This function does not return a value

Description

BPEL.BPEL.script_source_update is used to update the script source of an already uploaded script. The script must be in edit mode in order to do that. The URL and content parameters works as in script_upload.

Examples
Simple example

    	  SQL> BPEL.BPEL.script_source_update (1, 'file:/LoanFlow.bpel', null);
              Done. -- 10 msec.