Versions Compared

Key

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

Persona + Need + Purpose

...

  • Re-use the existing flow “Usyd Contact Address History Tracking”

  • Optimize the flow

  • Is it possible to split Duplicate review from Contact History Tracking so it is easier to identify which flow is doing what?

  • Execute Contact History Tracking even on contact creation - to follow the same logic as Salesforce Last Modified Date. This eliminates the need for integration to refer to different fields when comparing data time stamps

  • Don’t update the modified by ad modified date if the email/mobile/address change is cosmetic change as you are checking that anyhow in the flow now as part of this ticket

  • Add the filter at the entry level/inside the flow depending on best practice - use isnew() and ischanged() fields to trigger when Mailing Address fields, Mobile, Business Email, School email, personal email, Other email updated to trigger this flow

  • If a duplicate review case exists append what has been changed to description

  • If no case exists create and add the information of what has been changed at the contact level(based on the current flow) into the case description.

  • If possible, do not create the case when only cosmetic changes have been made (do a case-insensitive comparison, space, and punctuation) - Hope Step “If a duplicate review case exists append what has been changed to description” help us not create a duplicate and just update the change instead

IMPLEMENTATION

  1. Create a new sub flow called “USYD Contact Address History Tracking (subflow)” equivalent to “USYD Contact Address History Tracking

  2. Actions inside this subflow should only be performed once there has been a change in the Email or Mailing Addresses or Mobile on the Contact record

...

3. Create an Invocable Apex Class called “UsydContactInvocableClass” that will handle the checking for the cosmetic changes of the Mailing, Email addresses and Mobile. If cosmetic change has just been made, creation of duplicate case records should not push through.

Note: If cosmetic change is only the change, do not update the corresponding Modified by and Modified Date field of the email/mailing address or mobile.

...

7. Call the USYD Create Or Update Duplicate Outcome Review Case (subflow) from the Usyd Contact Main Flow after the Update Contact Record Element

...

Records Apex Action

...

8. Create a New Record Triggered Flow (Fast Field Update/ Before Save) called USYD Contact Main Flow Before Save. This will be triggered once a contact record is created and its main purpose is to set the corresponding modified by and modified date fields if the mailing, email addresses and mobile are not empty.

Note: This has been as a fast field update since the fields that we are setting is on the triggering record.

...