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
PkPk 

To choose county and after the city(only of that country$)

Hello everyone,

 I am interested in making a Flow that connects to 2 fields, one field that gives a choice of the country (from the list of countries in the world) and a second field that is dependent on it that allows me to choose the city of the country that I chose.  the api?  And if so, how do you do it?  In addition, what kind of flow is this implemented on?
PriyaPriya (Salesforce Developers) 

Hey,


field dependency connects two picklist fields on the same object.You need to create a dependent picklist field on Screen Flow.

You can refer this similar requirement to implement it :- 

https://salesforce.stackexchange.com/questions/85887/creating-dependent-picklist-on-flows

Also this important idea link :- 

https://ideas.salesforce.com/s/idea/a0B8W00000Gdda0UAB/dynamic-choices-for-picklist-values-in-flow


Also refer some supporting links:-
1. https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_screencmp_dependentpicklists.htm&type=5

2. https://jenwlee.com/2019/11/06/using-dependent-picklists-in-screen-flows/

If the information was helpful, kindly mark it as the best answer.

Thanks & Regards,

Priya Ranjan

PkPk
I can't figure it out, do you have a solution for this:
 
It is required to create a Flow that allows the ACCOUNT object to be updated with the weather if a city in India is selected.
 
 It is required to allow the user to select a country in Flow from a list of countries and a city from that selected country.
 
 As soon as it is recognized that it is the country of India, the city must be updated in the custom field in the ACCOUNT object. If it is not India, there is no need to update the field.

Thank in advance