Updates a repository record identified by the ID or designated primary key (which does not have to be the repository primary key). If the createRecord flag is set, a new record will be created.
Inputs
- repositoryName - Name of repository in in which a record is to be updated/created.
- ID - Internal ID of the repository record to be updated (0 or blank if none).
- pkNameX - Attribute name for primary key (actual or alternative) of record to be updated
- pkValueX - Attribute value for primary key (actual or alternative) of record to be updated.
- createdRecord - Create a new record if 'true'
- enableTrigger - Activate trigger on target repository if true
- validateRecord - Validate the record after the update if true (default)
- attrNameX - Name of attribute to be updated
- attrValueX - Value for attribute to be updated.
Outputs
- ID - ID of record that was created or updated ('0' means error)
- errorMsg - Detailed message why the record could not be created or updated (if ID is '0')