Quantcast
Channel: Active questions tagged lightning-experience - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 3018

Flow not Updating New Case Fields - Email-to-case

$
0
0

We are trying to auto-update field values on a new case, which was created by email-to-case.

Our Org has several email-to-case addresses and we want the email address the case was sent to, to determine the values of certain fields.

To keep debugging simple let's limit this flow to one of the support addresses as the one resource.

Resource

  • configurations
    • Type = Constant
    • Data Type = Text
    • API Name = EmailAddressResource
    • value = "emailaddress@domain.com"

Start Element

  • configurations
    • Object = Case
    • Configure Trigger = "A record is created"
    • Optimize the Flow for = "Fast Field Updates"

Next Element

Update Record Element

  • configurations
    • How to find records to update and set their value = "Use the Case record that Triggered the Flow"
    • Set filter conditions = "All Conditions Are Met (AND)"
      • Field = {!Record.source:EmailMessage.ToAddress}
      • Operator = "equals"
      • Value = "EmailAddressResource"
    • Set Field Values for the Case Record
      • Field = Department__c
      • Value = "Staffing" (Text from picklist)
      • Field = Region__c
      • Value = "APAC"

End Element

This flow works in debug mode but does not update the fields in deployment when an email message is received to the specified email address and the case is created.

In the past when a flow worked in debug mode, but not in deployment, there was a conflict with another automation.

However, in this case I have reviewed all other automations and can not find any potential conflicts. The resource used in the filter condition is not used in any other flow instances and there are no other attributes of these email messages/cases that are used in other flows.


Viewing all articles
Browse latest Browse all 3018

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>