Versions Compared

Key

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

Processes/Sub-flows

...

Anchor
USYD-Automate-task-for-GA-for-Pledge-(subflow)
USYD-Automate-task-for-GA-for-Pledge-(subflow)
USYD Automate task for GA for Pledge (subflow)

...

  • 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 > Recordtype       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 > : Pledge Status is updated to Paid

Code Block
Gift : >Gift Type is Pledge OR Gift > Recordtype 
       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 notNOT null
Gift >: Recurring Gift >Link Date Ended is not null
Gift > Recurring Gift > Date Ended is lessNOT that or equal to current date
Gift >
null, Current/Past Date

Gift : Pledge Status is updated to Paid

Code Block
Gift : >Gift Type is Pledge OR
Gift > Recordtype       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 notNOT null
Gift >: Recurring Gift > Date Ended is null
Gift > Recurring Gift >Link Type is Continuity Pledge with End Date

Gift > : Pledge Status is updated to Paid

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

Gift > : Pledge Status is updated to Active

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

Gift > : Pledge Status is updated to Active

...

  1. Open an existing Gift record and update its Description field.

  2. Check to see that Text Area Description field is updated(field may not be on page layout).

...

USYD Pledge is due to be Paid out (subflow)

Background of issue:

  • Re-implemented as a subflow.

Fix/Change:

  • Translated in its own flow(subflow).

Unit testing - Organization/Corporation Account recordtype:

  1. Create a Pledge from Smart Batch for an Organization/Corporation Account

  2. Set single payment due date 90 days from Today.

  3. Pledge transaction should be linked to an opportunity.

  4. After Closing the batch, expect a single notification for the Transaction created.

Unit testing - Household Account recordtype:

  1. Create a Pledge from Smart Batch for an Organization/Corporation Account

  2. Set single payment due date 90 days from Today.

  3. After Closing the batch, expect a single notification for the Transaction created.