Skip to main content
I have a list of around 800 cities, which are grouped in 12 geographical regions (in average - around 70 cities in each region).

 

How can I implement a solution so that whenever a city is selected for a contact (for instance by filling a form), the relevant region will be automatically selected for the Region filed?

 

How can I build the relations between those two lists?
11 answers
  1. Feb 1, 2018, 11:19 PM

    Ah, my bad. Yes, you can't have 'empty' branches. You can do it with a dummy update which can be cleaner rather than have the logic built into all of the future steps, however, in this instance adding the extra logic is probably the best option.

    • Delete the first decision to check whether the Region is already populated
    • Amend the logic in the second decision (which should now be the first decision...

    AND(

    ISBLANK(TEXT([Account].Region__c))

    ,

    CASE( [Account].City__c ,

    "Miami", 1,

    "Tampa", 1,

    "Orlando", 1,

    "Jacksonville", 1,

    0) = 1

    )