Yes the error message would show in Reltio UI as here code would throw the exception explicitly from catch block. Using the same logic you should be able to reject and changes and send warning message. BTW apart from workflow, you can also try Data validation function to reject any data changes or send warnings.
------------------------------
Ashish Rawat
Sr. Manager
Fresh Gravity
Bangalore
------------------------------
Original Message:
Sent: 04-26-2023 09:02
From: Utsa Das
Subject: Show custom warning/error message in MDM UI through custom workflow
Will the error comes in the MDM UI whenever it will be handled the try-catch exception ?
Also if we want to send reject/warning message in the UI based on some scenario , how to construct the same from the workflow ?
------------------------------
Utsa Das
Syneos
Original Message:
Sent: 04-25-2023 09:24
From: Ashish Rawat
Subject: Show custom warning/error message in MDM UI through custom workflow
You can try explicitly throwing an exception from try catch block of your services class. e.g.,
try {
-------
----------
} catch (Exception e) {
throw new Exception("XYZ property not configured in BPMN file : ");
}
------------------------------
Ashish Rawat
Sr. Manager
Fresh Gravity
Bangalore
Original Message:
Sent: 04-24-2023 12:25
From: Utsa Das
Subject: Show custom warning/error message in MDM UI through custom workflow
Hi Experts ,
Could you please let me know if there is a way to show custom warning/error message in MDM UI through custom BPMN workflow ?
------------------------------
Utsa Das
Syneos
------------------------------