Hi, I am throwing error from the onValidate method for managed object. This is indeed thrown back to the ui, this is when the managed object is created. however the custom message is not seen, how to achieve this, any help please.
You will need to modify the UI so that the message you want to display is shown. The best place to handle this is probably within config/process/CommonIDMConfig.js. You can transform your custom error details into a string similar to the way that errors is computed for standard policy failures. That will then be passed into the EVENT_DISPLAY_MESSAGE_REQUEST handler and used to display the message.