cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration variant - Detect data changed

Former Member
0 Kudos

Dear all,

I have a requirement on my configuration that I'm not able to fulfill:

Let's say that I have 2 characteristics : A and B.

The rule is : If the value of A is changed, reset the value of B.

I have tried to play with action and procedure dependencies, but I don't know how to detect this 'data change", or where to get the old A value.

Do you have a suggestion ?

Best Regards,

Mathieu ILHE

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Raghu,

Thanks for your answer.

The problem is that the dependency is launched each time the user press the 'ENTER' key, even if the value of CharA did not changed.

=> if I use your example the value of Char2 will be changed everytime. And I don't want it.

Regards,

Mathieu

Former Member
0 Kudos

Any idea ?

Former Member
0 Kudos

Hi,

In the dependency editor, you've to use the constraints and define in the editor as

lets say you've characteristics Char1 and CHar2 and in the editor for Char2, code should be something like if Char1 = 'A' then set Char2 = '1' and Char1 = 'B' set Char2 = '2'. You don't have to detect the change, system will automatically do and get the changed value as well. The above is just an example and the syntax might not be right.

Regards,

Raghu.