msetrec
Use the msetrec
command to set the field values in a global record. Global records are defined in the records
directory of a Knowledge Base. The cell uses global records as global variables in rules.
msetrec syntax
The following figure shows the syntax for msetrec
.
msetrec syntax
msetrec [-h|?] [-z] [-q] [-c <ConfigFile>]
{-p <Var=Value>} [-n <cellName> | -n @Host[/Port[#Key]]]
-r <Record> -S <Slot> -V <Value>
The following table lists the command-specific options for msetrec
. For a list of common command options that apply to all CLI commands, see Event management common command options.
msetrec options
Option | Description |
---|---|
| Assigns the specified value (Value) to the option (Var) |
| Specifies the global record containing the |
| Specifies the |
| Specifies the |
msetrec example
The following figure shows an example of msetrec
.
Example of msetrec
msetrec -n <cellName> -r test_rec -S slot_list_int -V '[4,5,6]'
msetrec return codes
The following table lists the command-specific return codes for msetrec
. For a list of common return codes that apply to all CLI commands, see Event management return codes.
msetrec return codes
Code | Description |
---|---|
31 | Failed to set record slot |
Comments
Log in or register to comment.