function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ajith Selvaraj 2Ajith Selvaraj 2 

toast message not working in lwc when calling from flow

I have a list view button in Contact Object. By clicking that button I need to capture the selected record ids from the list. After that I need to call my lwc from the same button and need to pass the selected record ids to lwc component. For passing selected record ids from list view to LWC I have achieved with help of screen flow(Invoking flow from button). Everything is working expected, apart from toast message and Navigation in LWC. If I call the same component(not from flow) from Quick action, toast message and navigation is working well. So here I can understand is calling the LWC with the help of flow is the issue for not firing the toast message in LWC. Can anyone confirm is this? If yes, what will be the solution to come out from this.
VinayVinay (Salesforce Developers) 
Hi Ajith,

Check below similar references to display toast message in lwc using flow.

https://salesforce.stackexchange.com/questions/336817/showtoastevent-not-working-in-lwc-in-flow
https://salesforce.stackexchange.com/questions/325438/toast-message-not-appearing-when-triggered-from-flow

Please mark as Best Answer if above information was helpful.

Thanks,