I want to write an expression rule to compare two values:
first value is from rule input and second value from a db table field.If the values are same ,then another field(column) of my db table must be set to inactive or 0.
Discussion posts and replies are publicly visible
To do the comparison, the value should be retrieved from the database. Use query entity to get the value from backend, compare it and set the value (write into database).