Write variable value

1
Hello I wanted to describe a variable in Mendix depending on the value of a list (production value/value). However, I have problems with the syntax. The assignment "=" is not accepted, but if I use parentheses the error message: "Unknown function ProduktionValueBoolean" appears. What is the correct syntax?
asked
2 answers
3

Hi Sophia,

 

you are already editing the “ProduktionValueBoolean”.

 You can use it as:

if $ProduktionValue = 2
   then true
else false

Or even shorter:

$ProduktionValue = 2

This will set the value to true or false, the same as the above statement.

answered
1

How can I filter on two values? 


And how can I check if an object exists?

answered