so i have to dialog activities, the 1st one for managing the user profile, the second will take car of the conversation.
StateClient stateClient = activity.GetStateClient();
BotData userData = await stateClient.BotState.GetUserDataAsync(activity.ChannelId, activity.From.Id);
if (userData.GetProperty<bool>("ProfileDone") == false)
{
await Conversation.SendAsync(activity, () => new ProfileSetup());
}
else
{
await Conversation.SendAsync(activity, () => new RootLuisDi());
}
Now when the 1st time interacting with the bot, it sends the user to the ProfileSetup, no issues. After completing the profile and set the ProfileDone flag to true. If the user interacts again it goes to RootLuisDi() but nothing trigger there. However, if I removed the conversation and chat again it actually works. !!