Forum Discussion

FICO's avatar
FICO
Community Manager
15 years ago

experimenting with templates

experimenting with templates

I am still experimenting with Blaze advisor 6.9. I made an attempt to create a table like this in an RMA, where the, Rule administrator, may type in the required minimum box size for ranges of shoe sizes and easily generate rules from a rule template. If you type in a number in the inches column then the number in the cm column changes to the appropriate amount. shoe size box size in cm box size in inches < 25 35.5 14.0 25 < = .. < 35 41.2 16.2 > 35 45.7 18.0 I'm not able to do this using only Blaze advisor. Is it possible?

3 Replies

  • FICO's avatar
    FICO
    Community Manager

    Hi,

         My only thought on this would be to create a custom provider to do the calculation and supply the value for the second column (using the first column as a dynamic input value to the custom provider.  This violates your "only Blaze rule", but uses a Blaze capability to implemen it (i.e. Custom Providers).  

         The only other option I can think of is to not allow arbitrary input, but predefine a list of the available box sizes in one provider and use a 2 value provider to convert it to the other  measurement.  This method would only use built in Blaze Capability, but limits it to predefined box sizes.

         Hope it helps,

         Tom Sheckells

         Business Rules Consulting, Inc.

  • FICO's avatar
    FICO
    Community Manager

    Thanks for straightening this out!

    I'm not entirely sure how to make a custom provider and use a dynamic input value, but now at least I know it is possible.

    Thanks a bunch (http://blaze.i.lithium.com/i/smilies/16x16_smiley-happy.gif)

  • FICO's avatar
    FICO
    Community Manager

    All of the documentation for Blaze is installed with the product as PDF files.  In the API guide is instructions for how to create a custom provider.  There are a couple of examples and some classes you can extend in order to get started.  The dynamic parameters are harder and are not documented.  However;  I had problems with them when I started trying to use dynamic parameters and in this forum is a post that gives the basics on how to do it.   

         Tom Sheckells

         Business Rules Consulting, Inc.