Set Value with Create

Sets the business object's attribute to a specified value of a particular data type, creating an object for the value if one does not already exist.

Inputs

Business object
The current business object (a BusObj object).

Attribute
A String that specifies the name of the attribute you want to set.

Verb
A String the specifies the verb Create.

Exceptions

The Set Value with Create function block can set the following exception type for a CollaborationException exception:

Notes

If the object provided is a BusObj and the target attribute contains multi-cardinality child business object, the BusObj is appended to the BusObjArray as its last element. If the target attribute contains a BusObj, however, this business object replaces the previous value.

Related information

This function block is based on the BusObj.setWithCreate() method. For more information, see setWithCreate().

Copyright IBM Corp. 2004