Show Message activity from Java Action

Hi Everyone,   I am working on a Custom Java Action, I want to show a message same as the Show Message activity in microflows. I tried with IFeedback but didn’t understand how to apply it to the code, I have worked using ILogger to generate logs in Mendix, but similar approach is not working.   Kindly give suggestions on the above Thank You
1 answers

I think you have to use the FeedbackHelper class:

FeedbackHelper.addTextMessageFeedback(getContext(), IFeedback.MessageType.INFO, "My custom message", true);


Hope this helps!