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
BenBurbridge(JP)BenBurbridge(JP) 

Visual Workflow - Show output text based on drop down choice

I am designing a patient intake visual workflow.

My operations deartment want some scripting to show dynamically based on drop down choice, I can use an IF statement but in flow they need to be numerical values which is annoying.

Example:

If( ISPICKVAL( {!Caller_Response} , {!I_am_calling_to_find_out_the_opening_hours}), "Our usual opening hours are 8am until 6.00pm, but this will depend on your area.  If you can spare 5 minutes to go through our intake, I am sure I can satisfy your requirements", "")
&If( ISPICKVAL( {!Caller_Response} , {!I_am_calling_to_find_out_the_prices_for_treatment}), "Our costings vary dependant on your location and injury type but I can tell you that they are between 30 and 60 dollars", "")
&If( ISPICKVAL( {!Caller_Response} , "{!Please_Choose}), "Please choose an option", "")

Can anyone help?
Amanda Byrne- Carolina Tiger RescueAmanda Byrne- Carolina Tiger Rescue
You've probably let this drop, but I don't think you can use ISPICKVAL in a Visual Flow 
 Check https://help.salesforce.com/HTViewHelpDoc?id=vpm_designer_about_formulas.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=vpm_designer_about_formulas.htm&language=en_US)
BenBurbridge(JP)BenBurbridge(JP)
I did let this drop as there wasnt much scope for anything this dynamic unless I write some apex which I didnt in the end.

Thanks for responding though