Skip to content

Instantly share code, notes, and snippets.

@DataSolveProblems
Created September 12, 2019 17:58
Show Gist options
  • Save DataSolveProblems/3d99e543c208fdbb6e1040c531803cd1 to your computer and use it in GitHub Desktop.
Save DataSolveProblems/3d99e543c208fdbb6e1040c531803cd1 to your computer and use it in GitHub Desktop.
public class NewCaseListController {
public List<Case> getNewCases(){
List<Case> cases = [select id, CaseNumber from Case where status='New'];
return cases;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment