Forum Discussion
FICO
17 years agoCommunity Manager
reg: Valueholders
reg: Valueholders Hey, i have two valueholders containing values, VH A and VH B. now i want new VH in which i can take one value from VH A and VH B resp. example : VH A contains 1 2 3 and VH B c...
FICO
17 years agoCommunity Manager
Hi,
A Custom provider is just that - a provider that provides values in a customized fashion. There is a Custom Provider API that you can use to implement your own provider logic. Open the reference documentation, and see the API Developer's Guide section -> Custom Provider API section. You implement your provider logic in either Java or .Net (one of the .Net languages), and import the provider as a custom provider in your rule project.
Take a look at the reference documentation and the Canadian provinces example. The example in particular gives a very good overview of the steps involved in creating a provider. It will be a lot easier to discuss custom providers when you have seen an example - it gives us a common starting point for further discussion.
Please note that custom providers is one way to solve what you were asking.
If all you need to do is add two numbers, you can also solve this using a third template that takes the two values as template arguments.
If you could provide more information on what you are trying to solve, it would be easier to give you a more specific answer.
Regards,
Jostein