Using SessionLevel tags - can I set a TTL for this?

I am adding SessionLevel tags -is there any way to add a TTL to these tags so that they will persist for the TTL, similar to botusersession feature? I want the tags to persist even if the person chatting with the bot only triggers the KG and I can’t rely on the WelcomeDialog to run it as we use MS Teams channel.

@StacyJPelletier
TTL is not supported for custom meta tags.
As you may already know, you can use TTL only in context variables.
For other readers, I suggest that you refrain from using enterprise context as it may lead to unwanted variables across ALL your bots in the workspace.

Can you please clarify what you meant by this comment: “For other readers, I suggest that you refrain from using enterprise context as it may lead to unwanted variables across ALL your bots in the workspace.”

In my examples I am using BotUserSession , which only persists the context for the specific bot and the specific user and for that specific session unless TTL is defined. In my case I need TTL defined and have accounted for this in other tasks/scripts.

@StacyJPelletier
Enterprise context can be set or unset from any VA/bot. It will be reflected in all the VA/bots of that workspace. So, although this provision is there, it is best to limit its use to only very precise use cases.
That is the reason I advise users not to use Enterprise Context in general. It is not specific to your case but generic information.

will show you how to set TTL for BotUserSession.

BotUserSession.put("key", "value",<TTL in minutes>)

In the original context of this post, TTL is still not available for meta tags. It remains available for context variables under various context session types - BotContext, BotUserSession, etc.