Skip to Content

Restricting allowable values of multi-value characteristic using table/constraint


I have two characteristics, F (single value, char) and S (multi-value, char).

I want to restrict the allowable values for characteristic S based on value selected for F.

I have a table with columns for F (key) and S. I created a constraint which calls table rest_S and infers the value of S. The syntax check comes back error free.

Example of table

If I enter value of 1 for F, I should only be able to select values of A,B, and C for S (not D). If I enter value of 2 for F, I should only be able to select A and D (not B,C). However, the constraint is not working as expected, it is not restricting any of the values. This exact scenario works fine if both characteristics are single value, only running into an issue with one of them being a multi-value.

Is this above mentioned scenario something that can be achieved using a table and constraint. If so, is there something I should change in constraint or table? If not, is there a better way to achieve this requirement?

Thank you!

test-table.jpg (10.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Oct 14, 2019 at 05:54 PM

    Hello Rodolfo Folino I , you did not mention if you were using LO-VC or AVC. Since AVC is still pretty new I will assume LO-VC.

    In LO-VC multi-value characteristics do not have the option in CT04 to be restrictable (they do have that option in AVC). That means you can't use them in constraints the same way you can single value characteristics to restrict value domains. It seems that you discovered this in testing.

    If you are required to continue to use the multi-value characteristic, one of the often recommended methods for restricting it is to use a precondition. Please view the links below for methods and syntax. The process is similar to using selection conditions and in the second link you can see an example using tables if you want to keep your table.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.