Skip to Content
avatar image
Former Member

Restriction on characteristics

I'm probably using the wrong terminology here, but here goes:

I understand how you 'assign' a value to a characteristic through something like:


BUT is there a way to restrict the values a characteristic can take on?

For instance:

if CHAR_NAME_A is 2, CHAR_NAME may only be set to 1, 2, or 3.
If CHAR_NAME_A is 1, CHAR_NAME can be 1, 2, 3, 4, or 5.

I hope this makes sense.

Using the motorcycle example that appears online that has a couple of different colors and 3 engine sizes, the analogy to our application would be that we wish to limit choices to 2 engine sizes if you order a red bike, but allow all three engines if someone orders a black bike.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 25, 2017 at 03:21 PM

    Jeff G,

    You can achieve the expected result through the constrain.


    $SELF.CHAR_NAME IN (1, 2, 3) IF

    $SELF.CHAR_NAME_A = 2,

    $SELF.CHAR_NAME IN (1, 2, 3, 4, 5) IF


    Reference Document below

    Constraints: Restricting the Allowed Values

    Add comment
    10|10000 characters needed characters exceeded