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
65 stars 45 forks source link

Error in B2CCommerce_B2CPromotion_View_Active_Customer_Promotions_Accounts for users without customer ID #134

Closed nek4life closed 2 years ago

nek4life commented 2 years ago

Describe the bug Engagement flow throws an error if customer ID is not supplied. This occurs if you visit this tab on a user that was created during a guess checkout.

To Reproduce Steps to reproduce the behavior: Perform a guest checkout with option enabled to sync user to service Browse newly created user in service cloud Click on the engagement tab on the profile.

Observe flow error in the following flow

Flow Details Flow API Name: B2CCommerce_B2CPromotion_View_Active_Customer_Promotions_Accounts

Expected behavior Flow should handle accounts that do not have a customer ID. Simple do not return results or display not available for this account or something

** Environment Details Connector version 1.3

jbachelet commented 2 years ago

Hello,

Thank you for opening this issue @nek4life. This has been fixed in #149 and will be merged in v1.3.2.

Thank you, closing this issue.