Adding conditions when creating event-to-actions for video analytics events - Security Center 5.7

Security Center Administrator Guide 5.7

Applies to
Security Center 5.7
Last updated
2021-12-16
Content type
Guides > Administrator guides
Language
English (United States)
Product
Security Center
Version
5.7

When creating event-to-actions for video analytics events, you can specify additional conditions based on camera analytics to trigger an action. For example, you can specify that an action occurs only when the direction of travel is right, or the vehicle is traveling at a particular speed.

Before you begin

What you should know

  • Conditions must be typed as an expression that contains an identifier, an operator, and a value (not case sensitive). For example, [RuleName] = "RuleA". To know more about the operators and identifiers that can be used, see Elements used in event-to-action conditions for video analytics events.
  • Identifiers must be typed in square brackets: [RuleName].
  • Text values must be typed in quotation marks: "ABC123".
  • You can use AND and OR to combine multiple expressions. When doing this, use parentheses to force the order of the evaluation. For example, if you type ([Count] > 20 AND [Update] = "Punctual") OR ([Count] > 50 AND [Direction] = "right") the AND operator takes precedence.
  • You can use the exclamation point (!) to exclude an expression. For example, if you type [RuleName] contains "RuleA" AND !([Update] = "punctual"), any camera with a rule name that contains the value "RuleA" and an update other than "punctual" will trigger an action.
  • Camera analytics are not generated 100% of the time. An event-to-action might not be processed if the camera is unable to generate the analytic specified in the condition. For example, if the condition is [Count] > 50 and the camera cannot produce a value for count, Security Center will evaluate the condition as being false and the action will not be processed.

Procedure

  1. Open the System task, and click General settings view.
  2. Click the Actions tab, and click Add an item ().
  3. From the When drop-down list in the Event-to-action dialog box, select a video analytics event from the event list.
  4. Click Specify a condition, and type the expression.
    Tip: Hover your mouse over the field for examples of valid expressions. The field will appear in red if the expression you enter is invalid.
  5. In the From drop-down list, leave the default Any entity unchanged.
  6. From the Action drop-down list, select an action type and configure its parameters.

    For example, if you select Send an email, then you must also select the email recipients.

  7. In the Effective option, click Always, and select a schedule when the event-to-action is active.

    If the event occurs outside of the defined schedule, then the action is not triggered.

  8. Click Save.

    The Save button is only available when all the arguments required by the event-to-action type are specified.