Skip to content

Instantly share code, notes, and snippets.

@jhersh
jhersh / ServiceRequestTrigger.java
Created May 31, 2012 18:36 — forked from pcon/ServiceRequestTrigger.java
Checking previous status != 'In Review' and then switched to 'In Review' - field expression now allowed for generic SObject line 33
public class ServiceRequestTrigger {
private final Map<Id, Service_Request__c> oldMap;
private final Map<Id, Service_Request__c> newMap;
private final List<Service_Request__c> newObjs;
private final Boolean isInsert;
private final Boolean isUpdate;
private final Boolean isDelete;
private final Boolean isBulk;
/**