You need to sign in to do that
Don't have an account?
Prasanth Srinivasan 12
toast message not getting displayed on triggering from flow
I'm trying to use the toast message in screen flow after collecting input from user . I have a aura component that displays toast message. I have called this aura component on the flow and passed the message and type for firing the toast message. I don't see any error when the flow is running. But it is just that screen is refreshing but I'm not able to see the toast message getting displayed. Have any of you encountered the same issue please advise
Component: Controller: Helper: Design:
Where the action is calling the lightning component.
Link to the above implementation: https://unofficialsf.com/show-toast-flow-action/#:~:text=Version%202.0%20adds%20the%20ability,pop%20up%20a%20toast%20message.
The output I got is:
Where the asdasd if the randm text in the flow screen.
Let me know if this helps.
All Answers
Can you try checking to see if the lightning component is being called, and also can you mention if this is the behaviour you are observing only after the recent update or was it the behaviour even before as well.
Looking forward to your response.
Thanks.
Hi @ANUTEJ,
I clearly see the lightning component is getting called as I have placed some alert message on the component. But the problem is toast message is not appearing even though the screen refresh is happening. This behaviour is happening from first as I have tried the concept last two days.
Component: Controller: Helper: Design:
Where the action is calling the lightning component.
Link to the above implementation: https://unofficialsf.com/show-toast-flow-action/#:~:text=Version%202.0%20adds%20the%20ability,pop%20up%20a%20toast%20message.
The output I got is:
Where the asdasd if the randm text in the flow screen.
Let me know if this helps.
However toast message is not displaying if I call the flow from the related list button as a URL.
I have also have same requirement that im calling a Aura component inside the Screen flow and im launching the screen flow from the custom button as a URL and what i have seen is any events wont be fired and not just the Toast message event.
So have you came across with the solution and can you please share the Workaround for this?