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
DevSFDC22DevSFDC22 

Survey with flow.

Hi,

I'm creating a Survey with salesforce flow. I have a requirement like We have list of Prohibited Countries, High Risk Countries and Other countries and some questions based on that which will provide them score.

Q1)  Company Location (Text field)

If user enter a Prohibited Country then a pop will show with some message.

I'm stuck on how I can relate the countries with user questions.

Can anyone help?
ANUTEJANUTEJ (Salesforce Developers) 
Hi Sid,

I found that there is an article regarding the validation of text in salesforce flow can you try checking this article:

https://help.salesforce.com/articleView?id=flow_ref_elements_screen_validate.htm&type=5

https://automationchampion.com/tag/validation-rule-in-flow/

Let me know in case if there are any issues and in case if this came in handy can you please choose this as the best answer so that it can be used by others in the future.

Regards,
anutej
DevSFDC22DevSFDC22
Hi Anutej,

Thanks for reply. I have created  below flow
User-added image

First screen is taking input of country. (Text)

The decision is checking if the country is prohibited or high risk. I have used formula in this.

Its not working as expected.  Any suggestion?