• Vijayalakshmi Subramanian
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
public without sharing class AfterPaymentLogic{
@InvocableMethod(label='After Payment Logic')
public static void execute(List<FlowInputs> flowInputs){
FlowInputs input = flowInputs[0];
String caseService = input.caseService;
        switch on caseService {
            when 'Application for Certification' {
                AppForCertController.paymentCompletion();
            }
            when 'Duplicate ECFMG certificate' {
                //DupEcfmgCertificateController.paymentCompletion();
            }
            when 'Eligibility Period Extension' {
                EPExController.getEPExCaseNumber();
            }
            when 'EPIC Credentials Verification' {
                EpicCredVerController.payCompletion();
                //EpicCredVerController.createEpicExtractionCase();
            }
            when 'Region Change' {
                RegionChangeController.regionChangePaymentCompletion();
            }
            when 'Score Rechecks' {
                //ScoreReportController.paymentCompletion();
            }
            when 'USMLE Exam Registration' {
                ExamRegistrationController.examRegPaymentCompletion();
            }
            when 'USMLE Transcripts' {
                //TranscriptRequestController.createTranscriptRequestCases();
            }
            when 'Identity Verification' {
                CommunityIdentityVerificationController.makePayment();
            }
            when 'Biographic Change' {
                ApplicantMyProfileController.updateAppBioCaseStatus();
            }
        }        
}
public class FlowInputs{
@InvocableVariable(required=true)
public String caseService;
}
}
Hi

Been looking around with no luck - is there a simple equivalent to the SQL not null statement in SOQL (ie return rows where the column contains a value?)

Current query:

SELECT Id, Name, customfield__c from Account
Where customfield__c !=null

Any help greatly appreciated! I feel the answer is obvious but it is driving me mad. 

Cheers