|
actionlog.create
|
| |
|
description
Create a new action log.
Can throw an error if the log already existe (an if an unique usage is required).
Used for exemple in polling system.
privilege-required
anyone
tx-support
true
|
| |
|
INSTRUCTION
|
|
name
|
type
|
default-value
|
required
|
description
|
| id |
integer |
none |
true |
Id association: this could be for example an instance id. |
| unique |
boolean |
none |
false |
Tell if the log must be unique. |
| type |
integer |
none |
true |
A differentiation number. Can be set to any value (up to the developper). |
|
| |
|
ERROR
|
|
|
id
|
msg
|
| 1 |
Action log allready exist |
|
| |
|
EXAMPLE
|
|
|
example 1
|
<nvd:command name="actionlog.create" id="{$id}" type="{$type}" unique="true"/>
|
|