- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2022 09:17 PM
Hi all,
I want to display virtual agent topic based on portal by using topic condition like below image.
When I configured "portal is sp", this topic is only visible at sp portal.
But when I configured another portal like kb, hr, it didnt't work.
Could anyone tell me what is the problem?
Thanks.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2022 09:41 PM
Hi Shun,
You can refer to these articles which should be helpful to meet your expected requirements:
force a Virtual Agent to use a specific topic on a certain portal
Virtual Agent - Available topics depending on different Service Portals
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2022 09:41 PM
Hi Shun,
You can refer to these articles which should be helpful to meet your expected requirements:
force a Virtual Agent to use a specific topic on a certain portal
Virtual Agent - Available topics depending on different Service Portals
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2022 09:50 PM
Hi Shun,
To achieve this you can create an agent chat configuration , Select your portal and add your topic sys_id like this :
(function($sp) {
return {
topic: '<your_topic_sys_id>'
};
})($sp);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2022 12:43 AM
Hi Shreepriya,
I can achieve my requirement by following your advice.
If I have several topics that I want display certain portal, should I write every topic's sysid at this script?