Custom Greeting affecting another portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi
I have a custom greeting - Hi this is your abc how may I help you which I have implemented in my company's shared instance for my abc project . Its for Now Mobile chat to show.
A issue was raised that in sd portal virtual agent too that greeting showed up where it should actually show Hi this is your xyz(company) virtual agent which has been default for everything.
I changed the domain, order and tried various other workarounds like writing conditions to the greetings. But this is not yet resolved.
I want to understand why this is happening, only 1 greeting is default for the whole instance? and any fixes or workarounds for it?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago - last edited an hour ago
hey @TharaS657398130
This is a known behavior in Virtual Agent and what you’re seeing is expected based on how greetings are evaluated.
Virtual Agent greetings are instance-wide configurations, not inherently tied to a specific channel (Now Mobile vs Service Portal). At runtime, the system selects one greeting based on:
- Order (priority)
- Condition (if defined)
If your custom greeting (Hi this is your abc...) has:
- A lower order value (higher priority), or
- No / broad condition
then it becomes eligible for all channels, which is why it is also appearing in the Service Portal instead of the default xyz greeting.
Also, domain separation does not influence greeting selection, so changing domain will not control where the greeting appears.
Solution
To achieve different greetings per channel, you need to explicitly control them using conditions.
Example configuration:
Now Mobile Greeting (abc)
Condition:
vaSystem.getChannel() == 'mobile'Service Portal Greeting (xyz)
Condition:
vaSystem.getChannel() == 'web'Order
Ensure the mobile-specific greeting has higher priority if needed (lower order number)
Alternative approach
If greeting conditions are not consistently working in your instance, a more reliable pattern is:
Use a pre-chat topic / initial topic
Display greeting dynamically based on channel:
if (vaSystem.getChannel() == 'mobile') {
return "Hi this is your abc...";
} else {
return "Hi this is your xyz virtual agent...";
}This avoids dependency on greeting evaluation logic and gives you full control over messaging.
*************************************************************************************************************************************
If this response helps, please mark it as Accept as Solution and Helpful.
Doing so helps others in the community and encourages me to keep contributing.
Regards
Vaishali Singh
