Open topic with navigation

TIBCO Business Studio™ - BPM Edition 5.4.0

# 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.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO Business Studio™ - BPM Edition

Copyright © 2015-2023. Cloud Software Group, Inc. All Rights Reserved.