You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
How to access channel data sent to Healthcare Bot. #3
I'm sending channel data from StartBotConversationAsync() in directlineClient to the healthcare Bot.
var userMessage = new Activity
{
From = new ChannelAccount(_userService...),
Text = ActivityTextHelper.StartHealthcareBot,
Type = ActivityTypes.Message,
ChannelData = questionnaireViewModels
};
The problem I'm having is accessing the channel data from the healthcare bot service. Is there a way that I can access ChannelData from the healthcare bot service? Thanks in advance.
Hi, Channel data is not accessible in the scenario authoring tools in Healthcare Bot. To transfer data to Healthcare bot you can pass custom variables in the Invoke event. This is then accessible in the scenarioArgs in Healthcare Bot. https://docs.microsoft.com/en-us/HealthBot/integrations/programmatic_invocation
Adam
Activity
AdamWalkerMicrosoft commentedon Jul 6, 2020
Hi, Channel data is not accessible in the scenario authoring tools in Healthcare Bot. To transfer data to Healthcare bot you can pass custom variables in the Invoke event. This is then accessible in the scenarioArgs in Healthcare Bot.
https://docs.microsoft.com/en-us/HealthBot/integrations/programmatic_invocation
Adam