VERY Brief Question - Multiple Rules, Same Class #5194
Answered
by
justinstroudbah
justinstroudbah
asked this question in
Q&A
-
I have two rules that point to the same Java class (this is a custom rule I built). Each rule has a different name and different property values in the ruleset XML. It doesn't seem to work. How can I have two rules with different names, different property values, but pointing to the same class? Similar to XPath rules. Thank you |
Beta Was this translation helpful? Give feedback.
Answered by
justinstroudbah
Sep 6, 2024
Replies: 1 comment 2 replies
-
It should work… care to share the ruleset xml? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jsotuyod I fixed the issue. It was giving me that vague "XML validation...can't find the rule" error and it wasn't the XML...it was a formatting error of the property in my ruleset. I've had this error before, and it was a bit of a red herring. Attaching my working rules for posterity. (took me a bit, had to sanitize my rules)
scripted.zip