SalesforceCommerceCloud / b2c-crm-sync

... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
https://salesforcecommercecloud.github.io/b2c-crm-sync/
BSD 3-Clause "New" or "Revised" License
64 stars 47 forks source link

Move the hardcoded "PersonAccount" RecordType value to the B2C CRM Sync Settings custom metadata to that customers can map B2C profiles to any record type #114

Closed jbachelet closed 2 years ago

jbachelet commented 2 years ago

This PR fixes issue #107 and is related to the discussion #103.

The changes in the flow are:

  1. Move the get configuration nodes at the top of the flow instead of duplicating them twice in the flow
  2. Use this configuration to get the PersonAccount Record Type
  3. Use this PersonAccount Record Type to update the account created

Screenshot 2022-02-07 at 9 34 46 AM Screenshot 2022-02-07 at 9 35 13 AM