Execute Method

The Execute method allows you to perform multiple operations on multiple business components. It is the only method that operates on internal nodes. The Execute method returns the same kind of object that the InsertLeaves method returns. For more information, see InsertLeaves Method.

Note: the Execute method requires a status object only when it contains an insert operation on a child integration component instance. However, because the EAI UI Data Adapter processes in a top-down fashion, it adds a status object to the integration object instance even if an insert operation is not present.

The operations are defined by the operation attribute on the integration component instance. An integration component instance can have the following operations as defined in the following table.

Operation Description

update

Updates the integration component instance

insert

Inserts the integration component instance

delete

Deletes the integration component instance

skipnode

Matches integration component instances and process children

Caution: Operations must be specified on every integration component instance. If an operation is not specified, then an implicit Synchronize operation will be performed, which will delete all unmatched child integration component instances.