BPComponent Object
Members 
Description
An instance of a Component in a Business Process.
Remarks

A BPComponent is an instance of a Component in a BusinessProcess. Adding a Component to a BusinessProcess twice creates two BPComponent objects. Adding the same Component to two different business processes also creates two BPComponent objects.

Create a BPComponent with BPComponentFactory.AddItem.

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

Interfaces
Implemented Interface Description
ISubtypedEntity Interface Represents an entity with support for subtypes.
Public Methods
Public Method AddIteration Deprecated. Use BPIterationFactory of IBPComponent2. Adds an Iteration to the BPComponent.
Public Method DeleteIteration Deprecated. Use BPIterationFactory of IBPComponent2. Delete the specified BPIteration from the BPComponent.
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 Attachments Not implemented for BPComponent.
Public Property AutoPost If true, the database is updated immediately when the field value changes.
Public Property BPComponentFactory The BPComponentFactory for this Business Process Component.
Public Property BPIterationFactory The BPIterationFactory for this Business Process Component.
Public Property BPParamFactory The BPParamFactory for this Business Process Component.
Public Property BPParams Deprecated. Use BPParamFactory of IBPComponent2. The list of the BPComponents parameters.
Public Property Component Get the Component object from which this BPComponent was created.
Public Property EntitySubtype The current subtype of the entity.
Public Property FailureCondition Indicates the behavior of the business process test if this component fails.
Public Property Field The value of the specified field.
Public Property Group The BPGroup to which this component belongs.
Public Property HasAttachment Checks if the object has one or more attachments.
Public Property ID The item ID.
Public Property IsLocked Checks if object is locked for editing.
Public Property Iterations Deprecated. Use BPIterationFactory of IBPComponent2. The list of the BPComponents Iterations.
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 Name The name of the component from which this BPComponent was created.
Public Property Order The position of the BPComponent in the BusinessProcess (1-based).
Public Property Test The parent business process test.
Public Property Virtual Checks if this is a virtual item, that is, an item that does not have a corresponding database record.
See Also