Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Processes/Sub-flows

...

  • Found that changes will be made even if change on field is not exactly changed.

Fix/Change:

Specific testing on this flow’s added criteria to check if Usyd_Gift_Driver_Derivation__c = false can only be done through debug of the flow as this is set to false when flow execution gets to USYD Gift Driver Derivation (subflow).

Unit testing:

  1. Open a gift record and set Usyd_Gift_Driver_Derivation__c to false through anonymous apex.

...

  • Translated in its own flow(subflow).

Unit testing:

Record Conditions

Result

Code Block
Gift > Type is Pledge OR Gift > Recordtype is Pledge or Matching Gift
Gift > Balance Due is 0
Gift > Payments is 0
Gift > Pledge Status is Active
Gift > Recurring Gift is null

Gift > Status is updated to Paid

Code Block
Gift > Type is Pledge OR Gift > Recordtype is Pledge or Matching Gift
Gift > Balance Due is 0
Gift > Payments is 0
Gift > Pledge Status is Active
Gift > Recurring Gift is not null
Gift > Recurring Gift > Date Ended is not null
Gift > Recurring Gift > Date Ended is less that or equal to current date

Gift > Status is updated to Paid

Code Block
Gift > Type is Pledge OR Gift > Recordtype is Pledge or Matching Gift
Gift > Balance Due is 0
Gift > Payments is 0
Gift > Pledge Status is Active
Gift > Recurring Gift is not null
Gift > Recurring Gift > Date Ended is null
Gift > Recurring Gift > Type is Continuity Pledge with End Date

Gift > Status is updated to Paid

Code Block
Gift > Type is Pledge OR Gift > Recordtype is Pledge or Matching Gift
Gift > Balance Due is greater than 0
Gift > Pledge Status is Paid

Gift > Status is updated to Active

Code Block
Gift > Type is Pledge OR Gift > Recordtype is Pledge or Matching Gift
Gift > Balance Due is greater than 0
Gift > Pledge Status is null

Gift > Status is updated to Active

On testing, either an update is done using AQ’s batch payments insertion or through record update. This steps are done through simple record update.

...