How to Change / Set BPEL Preferences at Deployment Time (Doc ID 1399401.1)

Last updated on JULY 21, 2013

Applies to:

Oracle SOA Platform - Version 11.1.1.4.0 and later
Information in this document applies to any platform.

Goal

Assume the following preference is defined within a componentType as follows:

<componentType
xmlns="http://xmlns.oracle.com/sca/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ui="http://xmlns.oracle.com/soa/designer/">

<property name="preference.waybill-error-type" type="xs:string">PARSE ERROR</property>
</componentType>

This works fine from BPEL process using ora:getPreference(‘waybill-error-type’).

The question is, how can you change this value at deployment time for environment specific configuration?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms