function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Stéphane CLARETStéphane CLARET 

Wrong generated code from flow designer for some lookup fields references

Hi,

In some cases, saving lookup type records fields leads to error message saying that I have mistaken between __c and __r in the code. Which is just impossible since the flow designer do it all for you.

This strange phenomenon seems to happen in few cases, when I'm dealing with two of my custom object which API names are: podF_Contract__c and podF_Order__c. I'm wandering if the resemblance with Salesforce objects (Contract and Order) can be for something? Or this is just a bug?

Since images are more powerful than words,

Here it is my element settings:
My Element Settings

and this is how the code seams to be generated:
How the code is generated

Thanks for your help!
ShashForceShashForce
Hi Stephane,

This could be a bug. Please raise a Support Case with Salesforce.com and report it.

Thanks,
Shashank