BotFramework-Composer icon indicating copy to clipboard operation
BotFramework-Composer copied to clipboard

How do I ensure that the welcome message is shown only once?

Open RamkumarManavalan opened this issue 3 years ago • 2 comments

Thank you so much @stevkan. Whatever you said as a solution for my issue (https://github.com/microsoft/BotFramework-Composer/issues/9345) worked! However, there is one more issue, which is explained below.

I need to send the welcome message to a user only once. So, I keep track of that flag (welcome message already shown or not) and use this flag as a condition inside the trigger to avoid sending the welcome message again to the same user. After doing this, the welcome message is shown to a user only once. However, the the last rendered message/reply is rendered again. Please see the screen recording attached. Thank you in advance for your help.

https://user-images.githubusercontent.com/7835046/185280108-2309be4d-c82f-49c3-a0e7-c9d6d7b12315.mov

Originally posted by @RamkumarManavalan in https://github.com/microsoft/BotFramework-Composer/issues/9345#issuecomment-1218933645

RamkumarManavalan avatar Sep 15 '22 18:09 RamkumarManavalan

@RamkumarManavalan - I'm glad that the previous fix worked for you! As for the duplication of the last message, I'll take a look at this and see what options there are. I'll keep you posted.

stevkan avatar Sep 16 '22 22:09 stevkan

@RamkumarManavalan - Ideally, is it possible for you to post a minimum repro of your code demonstrating the above? I don't think my setup is matching yours as I'm not seeing the issue. If not, could you include detailed steps?

stevkan avatar Sep 20 '22 15:09 stevkan

Closing due to inactivity.

stevkan avatar Sep 27 '22 22:09 stevkan