You need to sign in to do that
Don't have an account?

Unable to update Case
This is my code:
Case cse = [Select id, status, reason
From Case
Where id = :this.target.Id
limit 1];
cse.status = status;
cse.reason = selectedReason;
update cse;
I can get the values of the Case but when I update it does nothing


HI ,Can you setup debug logs to see what cse holds before the update statement? Thanks

Thanks for your fast reply, it holds the correct data, the only problem is with the update

I double checked the code.. Human mistake, thanks for the help Swetha