How to use Custom class method in expression without class name, like calling method without class name with static namespace? #281
Unanswered
maulik-chavda
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As per documentation,
Utils class example is demonstrating to use custom method for rule evaluation
where we can use in Expression with ClassName.MethodName in expression as below, which is current behaviour
"Expression": "Utils.CheckContains(input1.country, \"india,usa,canada,France\") == true"
Is there any way where we can have this class declared with static namespace?
so we can call custom method directly without providing class name
I want to achieve as below, like we can do with static namespace
"Expression": "CheckContains(input1.country, \"india,usa,canada,France\") == true"
Please let me know if there is any way to achieve this kind of expression?
Beta Was this translation helpful? Give feedback.
All reactions