adf.error.warn(null) is not displaying the warning , not working
Need to display the warning message in Lead UI , if the lead with same info is exist. So using the adf.error.warn(null) when the criteria is having more that one record (count>0), but It is not giving any warning. I am displaying the warning message in Error description.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):