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.

...

Record Conditions

Result

Code Block
Gift : Gift Type is Pledge OR
  Gift    : Record Type is Pledge or Matching Gift
Gift : Balance Due is 0
Gift : Payments is greater than 0
Gift : Pledge Status is Active
Gift : Recurring Gift Link is null 

Gift : Status is updated to Paid

Code Block
Gift : Gift Type is Pledge OR 
     Gift : Record Type is Pledge or Matching Gift
Gift : Balance Due is 0
Gift : Payments is greater than 0
Gift : Pledge Status is Active
Gift : Recurring Gift Link is NOT null
Gift : Recurring Gift Link Date Ended > Date Ended is NOT null, Current/Past Date

Gift : Status is updated to Paid

Code Block
Gift : Gift Type is Pledge OR
     Gift : Record Type is Pledge or Matching Gift
Gift : Balance Due is 0
Gift : Payments is greater than 0
Gift : Pledge Status is Active
Gift : Recurring Gift Link is NOT null
Gift : Recurring Gift Link Type is Continuity Pledge with End Date

Gift : Status is updated to Paid

Code Block
Gift : Gift Type is Pledge OR
    Gift  : Record Type 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 : Gift Type is Pledge OR
     Gift : Record Type is Pledge or Matching Gift
Gift : Balance Due is greater than 0
Gift : Pledge Status is null

Gift : Status is updated to Active

...