4 thoughts on “Did I Just See You “Hardcode” a Salesforce ID? Aw, Hell No!

  1. To avoid hard-coding IDs in Process Builder, another approach is to have your process call a Flow to lookup the ID. For instance if a process needs a record type ID, it could call a Flow to lookup the ID based on record type name. Do you think this approach has advantages/disadvantages compared to using custom labels or settings?

    Like

  2. Yes, this is the other way to go about it. This post was meant to highlight the use of custom labels, custom settings and custom metadata types. You can only do the lookup in flow but not process builder, validation rules, etc.

    Like

  3. Can you tell me now in Spring 17 how many total of master detail and lookup relationship is available? Thank you!

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s