I used configuration converter to migrate JS button to lightning enabled. but it's not working as expected. Pleas help me on this. see my javascript code below.
{!REQUIRESCRIPT("/soap/ajax/26.0/connection.js")}
var acc = new sforce.SObject("Account");
acc.id = "{!Account.Id}";
acc.RPS_Account_Checkbox__c = true;
sforce.connection.update([acc]);
window.location.reload();
Note: when click on this button it will call outbound message in workflow rule.