BPIterationParam Object
An instance of a business component parameter that belongs to a single iteration of the business process test.

BPIterationParams are not added automatically when iterations are added to a BPComponent. Add them in code or through the user interface to enable the BusinessProcess test to run.

Get a BPIterationParam object from BPIterationParamFactory.AddItem or from the BPIteration.IterationParams list.

If the value of the parameter is not of the correct type, errors will occur in viewing and running the test.

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

Public Methods
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 BPParameter The BPParameter object of which this is an instance.
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 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 Value The value of the parameter for this iteration.
Public Property Virtual Checks if this is a virtual item, that is, an item that does not have a corresponding database record.
See Also