Hello,
I know this is probably going to be a bit obscure and few are likely coding custom component behavior events but here we go...
I have an app that contains components. I have turned on the UDF feature (which requires the New Analysis Engine) and created a function that is used for validation. This function checks several control values and then returns True or False.
When the function is called from most places in my app, it works perfectly. When it is called from a component's custom event (behavior), which is coding outside the component itself, it always indicates a validation issue. Examining the controls values individually shows nothing that would trigger a validation failure. If I put the guts of the function into an OnSelect of a button and then look at each of the validations, they all indicate good data.
If I highlight the function from within the custom event code, the value displayed shows the function resolved to no validation issue. BUT, when the event evaluates the returned value, while the app is running, the returned value always indicates a validation issue. Very strange.
Anyone have any thoughts on this. I have no means to report this to Microsoft, but this appears to be a UDF bug since I have been using custom component events for years without issue.