I have a requirement to show the error message on date control property if the selected Date is an holiday. I have created business calendar for year 2019. I have to call isBusinessDay function from edit validate rule in Java code if the selected date is holiday then i have to show the validation message in the property.
I have calling the business day but it showing the compile error message
Could you please help in edit validate rule to call business day function using java code.
Thanks for help in advance.
***Updated by moderator: Lochan to update platform capability***
I have checked the above link, it will not help as it will run on the activity on change action set. My requirement is show the validation message using the editvalidate rule. I have to call the Business calendar function in the edit validate rule.
How to call the function IsBusinessday from the editvalidate rule. I have written the logic as below but it is throwing the error.