Go to documentation repository
Page History
...
The list of commands and parameters for the INC_SERVER object is presented in the table.
Command—description of the command | Parameters | Parameters description | Comment |
---|---|---|---|
UPDATE_STATUS |
—change the status of the event (incident) in the Incident manager | pks<> | Array of event identifiers | Parameters are filters and the presence of at least one parameter is mandatory. Example: objids<1|2> |
objtypes<> | Objects types | ||
objids<> | Objects identifiers | ||
actions<> | Actions | ||
status<> | Event status: 0 |
—Waiting to be processed 1 |
—Processing 2—Suspended 3—Completed |
2 — Suspended
3 — CompletedUPDATE_ESCALATE_STATUS |
—change the status of the event (incident) escalation in the Incident manager | escalated<> | Event escalation status: 0 |
—Waiting to be processed (not escalated) |
1—Escalated | |
pks<>, objtypes<>, objids<>, actions<> are the same as for UPDATE_STATUS |
Example 1. On macro 1, change the status of the camera 1 Alarm event to Completed.
Code Block |
---|
OnEvent("MACRO","1","RUN") { DoReactStr("INC_SERVER","1","UPDATE_STATUS","status<3>,objtypes<CAM>,objids<1>,actions<MD_START>"); } |
Example 2. On macro 2, on the Incident server 2 change the escalation status of the camera 1 events to Waiting to be processed (not escalated)
...
Overview
Content Tools