Hi,
I am trying to raise a warning message using a flex business rule, however, any raiserror message will stop the execution of the flex rule.
I am not sure if this is possible.
Thanks,
Rodrigo Santos
Hi Rodrigo,
We can raise warnings in MS SQL but not sure whether it works in flex business rules. Can you try belowRAISERROR('statement',0,0)
It is my understanding that you would need to use an Extensible Framework solution to raise warnings as raising an error with flex stops the execution as you have already noted.
Cheers,
John
Thank you jChester, I will look into how to do that.
I tried that, but it does not show the message. I am trying to understand how to use extensibility framework, however it is poorly documented. Thanks for the response.
It can be done in Extensibility using the script below, This is applicable only in English, if the EAM has multi language setup, then approach will be different.EAM.MsgBox.show({ msgs: [{ type: "warning", msg: EAM.Lang.getCustomFrameworkMessage("Your Message") } ], buttons: EAM.MsgBox.OK });
Stratum has a Webinar that you can view to learn more about Extensible Framework. We also offer sample code as part of the presentation.
www.stratumcp.com/.../
You can then use this function to pop-up a warning on a Field blur (leaving a field).
function warningMsg (iWarning) { EAM.utils.Messaging.showWarning(iWarning)}
Thank you so much Michael. I had found your video on youtube already, very informative. I have requested the sample code.
Can you please send me the sample code?