EScript Issue With Pass By Reference In ST Engine EScript On 8.1.1.11.12 (Doc ID 1988127.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Tools - Version 8.2.2.4 SIA [23030] and later
Information in this document applies to any platform.

Symptoms

On : 8.2.2.4 SIA [23030] version, Siebel VB / eScript / COM

ACTUAL BEHAVIOR
---------------
In Siebel 7.5 A non-primitive was allways passed by reference, and the pointer could be replaced eg passing in a propertyset, and replacing that reference with a copy of a propertyset in the called function worked - the propertyset in the calling function changed.
In Siebel 7.5 passing a primitive by reference requires using the & token. This does not work in Siebel 8


EXPECTED BEHAVIOR
-----------------------
Passing property set by reference should work in Siebel 8 the same way it worked in 7.5

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Passing property set to a function and work on it in the function.
The original property set is not getting updated.

Cause

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