DeleteRecord Parameters and Valid Execution Modes
The valid execution mode for DeleteRecord is SYNCHR or ASYNCHR.
The parameters of DeleteRecord are as follows:
Name | Semantics | Type | Valid Values | Multi-plicity |
---|---|---|---|---|
Direction: In | ||||
IncludeDraft Records (Optional) | See Common Parameters. | |||
InDocument (Optional) | See
Common Parameters.
One of the following parameters must be specified: ProductIds, RecordKey, InRecordList or InDocument. |
|||
InRecordList (Optional) | See
Common Parameters.
One of the following parameters must be specified: ProductIds, RecordKey, InRecordList or InDocument. |
|||
MasterCatalog (Optional) | Specify this parameter, if InDocument is specified and InRecordList, ProductIDs, RecordKeys are not specified.
The activity tries to get the repository name in the following order: From InParameter. From InDocument. An exception is thrown and the workflow exits in the following conditions: |
string | Any string. | 0..1 |
PerspectiveName (Optional) | See CreateWorkItem Parameters and Valid Execution Modes. | |||
ProductExtns (Optional) | Indicates:
|
arraylist or string | A valid value for extension as an array or string.
An array is processed only if the input for productId is Array. |
0..n |
ProductIds (Optional) | This is a required parameter only when you want to process the record from the input.
You must specify either this parameter or the RecordKey parameter. If both are specified, recordKey is processed. If none of them are specified, the activity fails. One of the following parameters must be specified: ProductIds, RecordKey, InRecordList or InDocument. This parameter indicates:
|
arraylist or string | Valid ProductIDs for the records that exist in the system. | 0..1 |
RecordKey (Optional) | You must specify either this parameter or the ProductIds parameter. If both are specified, recordKey is processed. If none of them are specified, the activity fails.
One of the following parameters must be specified: ProductIds, RecordKey, InRecordList or InDocument. |
arraylist | List of record keys for the records to be deleted. | 0..1 |
RelationshipName (Optional) | See
Common Parameters.
If relationship names are specified, the activity tries to build the bundle and process it. That is, the bundle of the specified relationship is built and each record in the bundle is marked for deletion. This parameter accepts ALL as a valid input. If ALL is specified, all the relationships applied to the catalog (including forward and reverse) are considered for deletion. |
string | ALL or a valid relationship name applicable for the repository. | 0..n |
VersionOption (Optional) | See Common Parameters. | 0..1 | ||
ImportDataDeleteRecord | This parameter applies when the DeleteRecord activity is invoked by
ImportCatalogRecords activity as part of the import process.
This parameter is used to delete records during import. |
boolean | True
False |
0..1 |
Direction: Out | ||||
RecordsDeleted (Optional) | This parameter contains the total number of records deleted by this activity. | long | 1 | |
RecordsProcessed (Optional) | This parameter contains the total number of records processed by this activity. | long | 1 |