Processes/Sub-flows
...
Task record is created multiple times after Gift Plege Status changed to Pending Review
Hard-coded Id is used in creating the Task record and must be queried dynamically
Unit testing:
Open an existing Gift record on an account where Pledge Status is not Pending Review
Update Pledge Status to Pending Review
Check that a Task record is created for Gift Administration group
...
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:
Open a gift record and set Usyd_Gift_Driver_Derivation__c to false through anonymous apex.
...