---
sourceDocument: Australia Conversational Interfaces
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/conversational-interfaces

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia Conversational Interfaces

ft:clusterId :

    - convint

bundleId :

    - convint

workflow :

    - Platform


---

# Control topic visibility in Virtual Agent messaging channels

# Control topic visibility in Virtual Agent messaging
channels {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Suppress the display of a topic in a Virtual Agent messaging channel by
using a condition script that excludes the topic from a channel.

## Vorbereitungen

Roles required:

* virtual_agent_admin or admin
* Administrator for third-party applications
{#control-topic-visibility-channel__ul_amd_lvs_rdb}

## Warum und wann dieser Vorgang ausgeführt wird

In your condition script for the topic, use a context variable to identify the
messaging channel that excludes this topic.

## Prozedur

1. Navigate to AllConversational InterfacesVirtual AgentDesigner.
2. On the Virtual Agent Designer home page, select the topic for updating or create a new topic.
3. Navigate to the Properties page, and open Who can access this topic under Advanced properties.
4. In the Context section, select Condition followed by Add Condition.
5. Enter a condition script that identifies the messaging channel (Slack, Microsoft Teams, Workplace from Facebook, or Facebook Messenger) from which the topic will be excluded.  
   You can use the following example script, which contains the vaContext.deviceType variable, to identify the messaging channel that excludes the topic: Slack, Microsoft Teams, Workplace, and Facebook Messenger.  

       (function execute()
       { if(vaContext.deviceType === 'Slack' || vaContext.deviceType === 'Teams' || vaContext.deviceType=='Facebook' || vaContext.deviceType=='Messenger'){
       return false;
       }
       return true;
       })()

6. To save the topic properties, click Save.

## Ergebnisse

Publishing the topic deploys it to the Virtual Agent messaging
channels, except for the Virtual Agent channels that you specified in
the topic condition script. A keyword or an intent (if using NLU) does not trigger
the topic.

