I'm with one problem setting up one email link to update automatically one column value in on list if clicked.
I have one workflow to approve some permission requests, where when one request is performed by one user, I save that request in one list with the status "Approved" or "Denied".
When this request is save in the list one email is sent to the approver, with two links - Approve - Deny
I need when the approver click in one link of the email the status is automatically changed in the list to "Approved" or "Denied".
I'm using this approach:
SPListItem li = workflowProperties.Item;
string sAcceptRequest = "Approve";
How can I change the value in the column I want?