Skip to main content

Overview

Apex Conditions leverage Apex code, allowing for more complex customization and logic around different record types within your Salesforce data. These require the input of a developer familiar with Apex.

Creating Apex Conditions

1

Fill out the Apex Condition information

Fill out the appropriate Apex Condition information:
  • Name
  • Description
  • Apex Class (Apex_Class__c) — the name of the Apex class that holds your logic
The Apex Condition record showing the Name, Description, and Apex Class fields filled in
2

Save

Click Save.
The class named in Apex Class must extend FCORE_PAY.ApexConditionEvaluator and implement its init and evaluate methods. fusionCore validates the class name when you save, so a missing or invalid class is rejected.

Limitations and Common Pitfalls

  • The Apex class must extend the evaluator. The class named in Apex Class must extend FCORE_PAY.ApexConditionEvaluator; a missing or invalid class is rejected when you save.