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

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 AddParamDeprecated. Use BPIterationParamFactory of IBPIteration2. Add the specified BPParameter Object to the iteration.
Public Method DeleteIterationParamsDeprecated. Use BPIterationParamFactory of IBPIteration2. Delete all the parameters from the iteration.
Public Method DeleteParamDeprecated. Use BPIterationParamFactory of IBPIteration2. Delete the specified BPParameter from the iteration.
Public Method LockObjectLocks the object. Returns True if the object has been changed on the server.
Public Method PostPosts all changed values into database.
Public Method RefreshReads saved values, overwriting values in memory.
Public Method UndoUndoes changes to field values that have not been posted.
Public Method UnLockObjectUnlocks the object.
Public Properties
Public Property AutoPostIf true, the database is updated immediately when the field value changes.
Public Property BPComponentThe BPComponent object of which this an iteration.
Public Property BPIterationParamFactoryThe BPIterationParamFactory for this Business Process Iteration.
Public Property FieldThe value of the specified field.
Public Property IDThe item ID.
Public Property IsLockedChecks if object is locked for editing.
Public Property IterationParamsDeprecated. Use BPIterationParamFactory of IBPIteration2. The list of BPIterationParam objects associated with this iteration.
Public Property ModifiedChecks 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 OrderThe 0-based execution position of this iteration in the set of iterations of this component.
Public Property VirtualChecks if this is a virtual item, that is, an item that does not have a corresponding database record.
See Also