I kept a flag to not to receive email more than once when the contract is reached.
now when the contract creator gets an email and he renews it I want to remove the flag so that it will check again and if reaches the cond it will send email again..
but when I'm trying to update the flag it is not working , flag is not removed
i wrote the if condition
and then update statement..
why is this happening..