Open topic with navigation
A BPParameter is based on a ComponentParam. The BPParameters are added automatically to the BPComponent when it is created from the Component. Every ComponentParam in the Component becomes a BPParameter in the BPComponent. The default value is the value of the ComponentParam from which the BPParameter is created.
The value of a BPParameter is either a constant or the value of another BPParameter. BPParameter.Type is either CONSTANT or REF_BPPARAM, respectively.
If the type is REF_BPPARAM, then the value is the output value of another BPParameter. Get the source BPParameter from the Reference Property, then get the source's constant value from its ComponentParam as described above: sourceBPParameter.ComponentParam.Value.
Get a BPParameter from the list returned by BPComponent.BPParams.
Save changes to the object with BusinessProcess.Save, using the BusinessProcess object of which this is a child object.
|LockObject||Locks the object. Returns True if the object has been changed on the server.|
|Post||Posts all changed values into database.|
|Refresh||Reads saved values, overwriting values in memory.|
|Undo||Undoes changes to field values that have not been posted.|
|UnLockObject||Unlocks the object.|
|AutoPost||If true, the database is updated immediately when the field value changes.|
|BPComponent||The BPComponent object to which this parameter belongs.|
|ComponentParam||The ComponentParam object from which this BPParam was created.|
|ComponentParamIsOut||Indicates if this is an output parameter. 1 indicates an output parameter. Any other value indicates an input parameter.|
|ComponentParamName||The name of the ComponentParam object from which this BPParam was created.|
|ComponentParamOrder||The position of the ComponentParam object from which this BPParam was created.|
|Field||The value of the specified field.|
|ID||The item ID.|
|IsLocked||Checks if object is locked for editing.|
|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.|
|Reference||The output BPParameter object that is the source of the value for this parameter.|
|Type||The parameter type.|
|Virtual||Checks if this is a virtual item, that is, an item that does not have a corresponding database record.|