Automating visitor access and check-in using a macro

2026-02-16Last updated

You can configure a Security Center macro to automatically check in visitors and grant them access at specified parking entrances or gated facilities. This is useful when visitors need access before check-in or at locations without self-service kiosks.

Before you begin

What you should know

  • This procedure is only compatible with Security Center 5.11 and later.

Procedure

  1. From the Config Tool homepage, open the System task and click the Macros view.
  2. Click Macro () and enter the macro name.
  3. Click the Properties tab and do one of the following:
    • Cut and paste the Macro file code into the Macro definition (C#) section on the Properties page.
    • Import the source code from a file by clicking Import from file, select the file containing the C# code, and then click Open.
  4. Click the Default execution context tab and configure the settings as follows:
    System task in Config Tool showing the Macros view with the Default execution context tab selected.
    Note:
    The door selected on the Default execution context page relates to a specific parking entrance or gated facility entrance. When a visitor presents their QR code, the macro is triggered to automatically provide access for this door only.
  5. Click Apply.
  6. Click Run macros.
  7. From the Config Tool homepage, open the System task and click the Scheduled tasks view.
    1. Click Scheduled task (), and enter a name.
    2. Configure the Properties tab as follows:
      System task in Config Tool showing the Scheduled tasks view with the Properties tab selected.
    3. (Optional) In the Context section, click Override to change the macro's execution context:
      Macro's execution context dialog in Scheduled tasks view of Config Tool showing macro execution settings.
The Security Center macro is now configured.