bpm.scriptUtil

The bpm.scriptUtil provides methods to copy business objects.

The bpm.scriptUtil performs a "deep" copy, which means that it copies all the objects contained by the Business Object being copied, as well as the Business Object itself.

The bpm.scriptUtil also supports simple type and simple type arrays.

Methods

Method Comments

copy(Object)

copy(Simple[])

copy(SimpleArray[])

Copies a simple value or a business object. For example: account.address = bpm.scriptUtil.copy(customer.address);

copyAll(Object[])

copyAll(Simple[])

copyAll(SimpleArray[])

Copies all the simple values or business objects in an array.