Skip to main content

I have a screen flow that is launched from a button on the Account page. The first screen has two lookups to a custom object called Employee Role. This flow worked in a different dev org, but after deploying it to a new org, both lookups cause these errors after inputting values and clicking Next: "The Lightning Component flowruntime:lookup generated invalid output for field recordName. Contact your administrator with these details: Flow encountered an error when processing and converting between data types. Please check the flow and ensure all data types are matched correctly."  This flow still works in debug mode, it only fails when running the flow by clicking on the button. Nothing has changed when I deployed it to the new org.

Flow error when processing and converting between data types

#Flow

#Flow
13 respostas
  1. 18 de mar. de 2022, 18:35

    @Colton Stampfel I assume that the fpi__Employee__c field is a lookup to another object? (Employee probably). The lookup pulls values from a lookup field on another object, so the Object API Name isn't the API name of the object you want to list, it's the API name of the object that has a lookup to the object you want to list. (Like if I wanted to show Accounts, I could do Object API Name: Opportunity and Field API Name: AccountId).

     

    If that's not the problem, I did find another thread that references this issue: https://www.reddit.com/r/salesforce/comments/sbrq71/screen_flow_lwcs_suddenly_throwing_errors_in_the/. So, you could try clearing your cache and/or using a new browser (or maybe moving any assignment nodes after - though it doesn't sound like that was the underlying cause).

     

    If that doesn't work, you may want to open a Salesforce support case.