Show Message activity from Java Action

0
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
asked
1 answers
3

I think you have to use the FeedbackHelper class:

https://apidocs.rnd.mendix.com/9/runtime/com/mendix/webui/FeedbackHelper.html

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

 

Hope this helps!

answered