Skip to content

Instantly share code, notes, and snippets.

View juanchax's full-sized avatar
🏄‍♂️

juanchax juanchax

🏄‍♂️
View GitHub Profile
@mannharleen
mannharleen / AddPrimaryContact.cls
Created November 2, 2016 15:46
Salesforce trailhead - Asynchronous Apex Controlling Processes with Queueable Apex
public class AddPrimaryContact implements Queueable {
public contact c;
public String state;
public AddPrimaryContact(Contact c, String state) {
this.c = c;
this.state = state;
}
public void execute(QueueableContext qc) {