BPComponent Object
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 InterfaceDescription
ISubtypedEntity InterfaceRepresents an entity with support for subtypes.
Public Methods
Public Method AddIterationDeprecated. Use BPIterationFactory of IBPComponent2. Adds an Iteration to the BPComponent.
Public Method DeleteIterationDeprecated. Use BPIterationFactory of IBPComponent2. Delete the specified BPIteration from the BPComponent.
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 AttachmentsNot implemented for BPComponent.
Public Property AutoPostIf true, the database is updated immediately when the field value changes.
Public Property BPComponentFactoryThe BPComponentFactory for this Business Process Component.
Public Property BPIterationFactoryThe BPIterationFactory for this Business Process Component.
Public Property BPParamFactoryThe BPParamFactory for this Business Process Component.
Public Property BPParamsDeprecated. Use BPParamFactory of IBPComponent2. The list of the BPComponents parameters.
Public Property ComponentGet the Component object from which this BPComponent was created.
Public Property EntitySubtypeThe current subtype of the entity.
Public Property FailureConditionIndicates the behavior of the business process test if this component fails.
Public Property FieldThe value of the specified field.
Public Property GroupThe BPGroup to which this component belongs.
Public Property HasAttachmentChecks if the object has one or more attachments.
Public Property IDThe item ID.
Public Property IsLockedChecks if object is locked for editing.
Public Property IterationsDeprecated. Use BPIterationFactory of IBPComponent2. The list of the BPComponents Iterations.
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 NameThe name of the component from which this BPComponent was created.
Public Property OrderThe position of the BPComponent in the BusinessProcess (1-based).
Public Property TestThe parent business process test.
Public Property VirtualChecks if this is a virtual item, that is, an item that does not have a corresponding database record.
See Also