I am using messageManager
to show message after redirecting to the controller for adminhtml.
It is working fine for the Role Administrator, but the message is not displaying for the website admin users.
I tried many solutions over the magento stack but they didn’t help.
I am using below code:
$this->messageManager->addSuccessMessage(__("Order is created with order Id %1", $orderId));
return $resultRedirect->setPath('controller/order/create');
Any help is really appreciated!