Processes/Sub-flows
...
Task record is created multiple times after Gift Plege Status changed to Pending Review
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.
...
Add a Filter Condition in getGiftImp (Get Record): where Stage does not equal to 5. GI - Kick Off.
Unit testing:
Open a GIft Implementation record and make sure Stage is not 5. GI - Kick Off and Gift Pledge field is NOT populated with a GIft record.
Navigate to the related Opportunity record and open any of its related Gift record.
Do an update on the Gift record on any fields and save.
Check the Gift Implementation record that the Stage is updated to 5. GI - Kick Off and Gift/Pledge field is populated.
...
Anchor | ||||
---|---|---|---|---|
|
Background of issue:
Logic is in a containing flow and must be subdivided for a more clear view of its function.
Fix/Change:
Translated in its own flow(subflow).
Unit testing:
Record Conditions | Result | ||
---|---|---|---|
| Gift > Status is updated to Paid | ||
| Gift > Status is updated to Paid | ||
| Gift > Status is updated to Paid | ||
| Gift > Status is updated to Active | ||
| Gift > Status is updated to Active |
...
Anchor | ||||
---|---|---|---|---|
|
Background of issue:
Logic is in a containing flow and must be subdivided for a more clear view of its function.
Fix/Change:
Translated in its own flow(subflow).
Unit testing:
...
Anchor | ||||
---|---|---|---|---|
|
Background of issue:
Logic is in a containing flow and must be subdivided for a more clear view of its function.
Fix/Change:
Translated in its own flow(subflow).
Unit testing:
...
Anchor | ||||
---|---|---|---|---|
|