Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Custom Condition - Return True or False
Rob76
Hello
TS 7.2.1 - We have written a custom condition which takes input from the user, State or Region for example. That input should be passed to a custom Java external. That external would do some processing and either return true or false to the rule at execution.
Does anyone have an example of this? Is it possible for the external to get a value(s) from the condition? What does the external in the condition need to return such that the rule can interpret the rule correctly?
Find more posts tagged with
Comments
Rob76
Is there any examples/documentation on how to create custom providers?
Y:\iwadmin\main\livesite\config\WORKAREA\shared\rules\providers\impl
tec_iwov
you would need to extned the RequestContextWrapper to provide it to the rules engine
unless you doing some custom execution rules will execute prior to your external. you could use a precontroller but this know nothing of component data but has access to the request context.