I am implementing a BPEL Process in which I am referring to a folder in my local server.Is there any way where I can set some sytem properties such way that the folder path could be dynamically accessed independent of the server/environment.
Ex:-in dev environment I am referring to this location - 'aia/tmp/DCTM/Input'
in devtest environment I want it to refer to this location- 'tmp/DCTM/Input'
Can we have any generic settings for this requirement?
and use ora:getPreference(folderLoc) to get it from within a BPEL process
and to change the value from em :
EM>Farm_soa_domain>weblogic domain>your_domain>soa_server1>right click menu>system Mbean browser>oracle.soa.config>server:soa_server1>SCAComposite>your project>SCAComposite.SCAComponent>processName>
Click the properties attribute : you should see the folderLoc and customProp and be able to change those.
Found the solution.
After changing the property, click on 'Apply' and then click on 'Return'.
Click on 'Operations' tab (next to 'Attributes' tab),
and click on 'Save', then click on 'Invoke' button and you are all set.
All values are persisted now and will also be replicated to other managed servers instances.