Questions tagged [visual-flows]

Commonly referred as visual workflows.

Filter by
Sorted by
Tagged with
1 vote
3 answers
6k views

How do I invoke an apexclass from flow and return a list back to flow

I have a flow from which I want to call an apexclass and retrieve a list of picklistvalues so a user can select from these in a flowscreen. How do I achieve this. I tried the code below but when I use ...
Thomas's user avatar
  • 2,294
0 votes
1 answer
3k views

How to combine VF page with visual flow to upload file

I am building a wizard with visual flow and one part of it has to be screen for uploading file. I found that there is no way to put file picker in flow, so indeed it has to be done in vf page. What is ...
Vladyslav K's user avatar
  • 2,743
12 votes
1 answer
11k views

How to pass in a list of Strings to an Apex Action in new Flow Builder?

I have a simple screen flow, which takes in a case Cancel Reason, and if that reason is Other, will get allow a user to specify the other reason via text entry. We have an Apex server method called ...
Swisher Sweet's user avatar
7 votes
1 answer
11k views

Embed a Flow in a lightning web Component

Is there a way in LWC, to call flow from web components. I have a task where I need to add flow into Global action traditionally its not possible with salesforce out-of-box functionality. I'm able to ...
SFDXTECHI's user avatar
7 votes
1 answer
16k views

any way to handle validation rule errors nicely in flows

When working with a visual flow, it seems that when you get an error saving a record because of a validation rule, that the only error Salesforce will give you is: An unhandled fault has occurred in ...
KoenVM's user avatar
  • 2,426
6 votes
2 answers
18k views

How to pass parameter to flow launched from Quick Action

I have created a quick action in account and launched a flow. I need to get account id in that flow. Is there anyway to achieve this? Currently I implemented with a custom url button and passed ...
Reshma's user avatar
  • 4,019
5 votes
1 answer
13k views

Is it possible to return a value from a Lightning Component to a flow?

I have a screen flow that calls a Lightning Component (Lead Search). The component allows a user to filter for certain records (opportunities, accounts, and leads). The controller APEX class returns ...
Olivia's user avatar
  • 3,461
3 votes
1 answer
3k views

Can we do Custom Datetime in Visual Flows?

I want to create an Event from Visual Flows, and in that I need to generate an Event with fixed Time but for a Date read from another record ( a custom object). The idea is to click a Button and it ...
VarunC's user avatar
  • 5,950
3 votes
1 answer
4k views

Time-to-Text conversion in Flows

I use the "Get Records" element to retrieve an object and select "Choose fields and let Salesforce do the rest" to save a field of type Time on this record. (I've tried "...
Felix van Hove's user avatar
3 votes
4 answers
12k views

BR() not returning a line break in flows

As per Use the BR() Function in Flows and Processes Correctly (Critical Update), I am expecting BR() should return a line break. Through flow loop element, I am populating text area field. After each ...
Reshma's user avatar
  • 4,019
2 votes
2 answers
2k views

Property 'storeOutputAutomatically' not valid in version 48.0

I am trying to deploy a flow to a sandbox and I am getting the error Property 'storeOutputAutomatically' not valid in version 48.0 The sourceApiVersion specified in my sfdx-project.json file is 48.0....
Delphine's user avatar
  • 183
2 votes
1 answer
185 views

External Service call in a Visual Flow from Guest User

I have created a Visual Flow in Salesforce that performs an action that calls a configured External Service. The flow correctly works in the debug mode (I am logged as system admin). On the other hand,...
Silvia's user avatar
  • 21
2 votes
1 answer
1k views

Visual Workflow Text Area Character Counter

I've successfully implemented a character counter using js in a visualforce page. I was hoping to use the same or similar functionality for text area fields in a flow embedded in a visualforce page, ...
BeckBeck's user avatar
1 vote
0 answers
780 views

Background: Screen Flow Revisited Screen Values

Background: Screen Flow Revisited Screen Values Screen 1: Inputs (Look up field) Get Records→ Assign Variables→ Screen 2: Displays default values from the assigned variables I select "Previous&...
J B's user avatar
  • 33
0 votes
1 answer
793 views

Flow finish behavior - flow called by custom URL button

I have a Visual Flow that is triggered by a Button on a record. The flow sends an email notification and posts to chatter (without requiring any user input). When the flow is finished I just want ...
Lara Wasowski's user avatar
0 votes
2 answers
7k views

How to debug flow errors?

We have some flows in application which do operations like record update etc, we have WF rules, triggers, process builders as well which also update records. Sometimes i see error like this in logs ...
Walker's user avatar
  • 2,333
0 votes
1 answer
2k views

How to access a Org Level Custom Setting in a Flow

How can I read a custom setting in Salesforce Flow. I have created a Org level Custom Setting called FeatureFlag__c with only one boolean field IsActive__c. The idea is, of the org level IsActive__c ...
Json Bourne's user avatar