Significance of the Script Boundary

When a script completes, all process Data Fields are independently converted to a form that can be stored in a database. Therefore, in a later script, modifying a value in one place never affects the other, regardless of whether a by reference assignment occurred in an earlier script.

This is illustrated by the following two scripts, which can be assumed to run one after the other, operating on the same process Data Fields:

Script 1:

data.personDataField1.age = 20;
data.personDataField2 = data.personDataField1; // Both data fields now
                                     // refer to same object
data.personDataField1.age = 35;       // This affects both data fields

Script 2:

// Each data field now refers to an independent Person object
data.personDataField1.age = 40; // will not affect
                           // personDataField2.age (still 35)