BPIteration Object
The design-time definition of a business process test iteration.

The object is created with BPIterationFactory.AddItem. Get a reference from the return value of AddItem or from the list returned by BPComponent.Iterations.

When a Component is added to a BusinessProcess, one BPIteration is added automatically, together with BPIterationParams for all of the component???s parameters. This BPIteration does not have an Order. The test cannot be run until the order is set.

When additional iterations are added after the Component has been added, the BPIterationParams are not added automatically. They must be added in code or in the user interface for the BusinessProcess test to run.

Save changes to the object with BusinessProcess.Save, using the BusinessProcess object of which this is a child object.

Public Methods
Public Method AddParam Deprecated. Use BPIterationParamFactory of IBPIteration2. Add the specified BPParameter Object to the iteration.
Public Method DeleteIterationParams Deprecated. Use BPIterationParamFactory of IBPIteration2. Delete all the parameters from the iteration.
Public Method DeleteParam Deprecated. Use BPIterationParamFactory of IBPIteration2. Delete the specified BPParameter from the iteration.
Public Method LockObject Locks the object. Returns True if the object has been changed on the server.
Public Method Post Posts all changed values into database.
Public Method Refresh Reads saved values, overwriting values in memory.
Public Method Undo Undoes changes to field values that have not been posted.
Public Method UnLockObject Unlocks the object.
Public Properties
Public Property AutoPost If true, the database is updated immediately when the field value changes.
Public Property BPComponent The BPComponent object of which this an iteration.
Public Property BPIterationParamFactory The BPIterationParamFactory for this Business Process Iteration.
Public Property Field The value of the specified field.
Public Property ID The item ID.
Public Property IsLocked Checks if object is locked for editing.
Public Property IterationParams Deprecated. Use BPIterationParamFactory of IBPIteration2. The list of BPIterationParam objects associated with this iteration.
Public Property Modified Checks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date.
Public Property Order The 0-based execution position of this iteration in the set of iterations of this component.
Public Property Virtual Checks if this is a virtual item, that is, an item that does not have a corresponding database record.
See Also