I have a variable V1 that gets calculated in the back- end and the values it can take is either 0 or 1.
now i have a second variable V2 whose value needs to be toggled between 0 and 1 every time V1 changes from 1 to 0.please help me how i can make this in the triggers