Questions tagged [lightning-flow-builder]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Creating only single record after loop iterates using flow

Is there are any way where we can create only one record after a loop iteration completes in salesforce via a flow?. Scenario: On Account object there is a field called Active if that field becomes ...
  • 45
0 votes
1 answer
253 views

Cannot see the new "Create HTTP Callout (Beta)" button in Flow Builder

I was reading around blogs and Linkedin and people where posting this new feature available in the Flow Builder so I've decided to give it a try but unfortunatly I cannot find the button anywhere. ...
0 votes
0 answers
20 views

Call Flow on List View as modal popup [duplicate]

I would like to have a list view button that goes to a URL that starts a flow. However, if the URL is just the link to the flow (for example, "/flow/<flow_name>"), the user is ...
1 vote
0 answers
159 views

Custom Labels Translations not working in Lightning Flows

I am using a flow to send custom notifications to the end user. I invoke a subflow that I created for Custom Notifications from Record Triggered flow and pass Notification Title and Body as a Custom ...
  • 145
0 votes
0 answers
78 views

Blank screen when debugging a particular Flow

I experience a blank screen when I run a particular flow from flow builder. In my sandbox I am able to debug the flow but unable to do so in the production org. When I click on run or debug I just get ...
0 votes
1 answer
463 views

How to active and Inactive flow using sfdx?

I want to active and deactivate flow using sfdx for all flows as well as specific flow you can see the below image for active/deactive
1 vote
1 answer
419 views

When should I use Free-Form vs Auto-Layout in the Salesforce Flow Builder

What are some of the main use cases for each of the Salesforce Flow Builder's Auto-Layout and Free-Form?
  • 758
0 votes
1 answer
1k views

Once-off schedule flow not running for all account records

I am migrating customer preferences on the Account Object to a related Object Customer Preferences using a flow. This only needs to be done once. I have added a checkbox field to the Account Object ...
1 vote
0 answers
623 views

Can not access the AccountId field in the flow on Opportunity object

I built a flow on Opportunity in which I was accessing the AccountId standard field. but suddenly now I am not able to access that field from the flow. I checked with the access issues also, I have ...
1 vote
1 answer
473 views

how Can I find out if the current user has access to a record on clicking button on my object by using lightning flow?

how Can I find out if the current user has access to a record on clicking button on my object by using lightning flow ? there is a custom button configured on object , on click of that button i want ...
2 votes
0 answers
677 views

This flow can't reference $Record because its trigger type is null

Am trying to deploy my flow, am getting below error. Could you anyone please let me know if anyone faced this issue. This flow can't reference $Record because its trigger type is null. Change the ...
  • 21
0 votes
1 answer
1k views

Passing id from Create Records in Flow Builder to LWC

In flow builder is a flow screen button that leads to a Create Record element and a LWC component. It creates a record and takes the user to the client side LWC where the Id is supposed to be ...
1 vote
1 answer
580 views

Salesforce FLow : Delete records of different objects (I got an error when an object not found and the flow stops without deleting the others)

I want to delete records of different objects, I have 4 object that i need to check if they exist and if it is the case i want to delete them. My problems is if for example the first object is not ...
1 vote
0 answers
523 views

Update Account fields based on its related Contract [closed]

I built a Flow (Record-Triggered Flow) in Salesforce Flow Builder that updates the fields Contract Start Date, Contract End Date, Renewal Date and Contract Length (Months) in the Account page. To ...
0 votes
2 answers
6k views

Split the values by a comma and pass it to a collection variable

I have a screen element where I input the opportunity Ids split by comma. I am wondering if there is a way to split the values by comma and add it to a collection variable so that I can loop through ...
0 votes
0 answers
307 views

Flow - Lookup component for object two relationships away

I have been trying to add a lookup component for a child object that is related to the child object of the parent. For example. Object A is the object of the record that started the flow Object B is ...
0 votes
1 answer
1k views

How to show component based on picklist value in screen flow

as title mentions I am trying to display a component only when a certain picklist value is selected. My understanding is that you need to set the resource to the picklist choice set, and then further ...
0 votes
1 answer
636 views

Allow InActive User selection via Flow Screen Input field - Lookup

Can we display a field in Flow Screen to allow InActive user's search/selection along with Active user's ? With existing screen input field "LookUp", it only allows searching/selection of ...
1 vote
1 answer
689 views

Adding an FSL flow based quick Action on FSL Mobile App

I have quick action on Work Order Object. This quick action is a type of Field Service Mobile Flow - https://help.salesforce.com/articleView?id=sf.mfs_flow_build.htm&type=5 I have added it to the ...
  • 4,681
0 votes
1 answer
696 views

Can't complete this trailhead module(Create a Candidate Rating Flow)

I am not able to find two of the fields. I have followed all the steps correctly still I am facing this issue. I have attached all the screenshot required. Please let me know my mistake Trailhead URL :...
0 votes
1 answer
1k views

How to redirect to the newly created record in record triggered flow

I'm using record triggered flow to create record. After the creation, I want the user to be redirected to the newly created record. Is there any way to achieve this.
  • 29
0 votes
1 answer
905 views

How does flow trigger handle bulk DML operation?

I am looking into understanding the flow triggers and want to understand the below pointers: Like we put common logic in generic/reusable methods in apex, can we do something like this in flows as ...
0 votes
0 answers
171 views

Flow Error - Apex CPU time limit exceeded in After Save Flow

I am building an after save flow on Account. We have 2 checkbox fields on Account and 1 Number field :- Field 1 (checkbox) Field 2 (Checkbox) Acc Number (Text) Logic - If we set Field 1 to TRUE for ...
0 votes
0 answers
169 views

Lookup component in flow does not save the record in salesforce

I've came across an issue related to Lookup in flow builder. Inside Contact Request Flow I've tried to add another component (lookup). When I run it, it shows me related lookup records but when I ...
  • 21
2 votes
1 answer
341 views

Lightning flow auto navigate to subsequent flow elements when page is refreshed

I have a lightning flow with multiple screen elements, apex actions, and record update elements. We are creating a task record after the flow is finished (When the Finish button is pressed on the last ...
0 votes
1 answer
1k views

Filter records by current year in flow

I need to create a flow which retrieves all the accounts created on the current year. I am unable to write a condition on Lightning flows. Is it possible to retrieve all the Accounts created on the ...
0 votes
2 answers
959 views

Can you return a variable from a Flow to the Aura Component that launched it?

When a Flow is launched from an Aura component as in the example below, I'd like a variable from the Flow to set an Attribute on the Aura Component that launched it. Is this possible? <aura:...
0 votes
1 answer
2k views

Navigate Screens in Flows

I understand that I can use the following to be able to navigate to the Next Screen in a flow: var navigate = component.get("v.navigateFlow"); navigate("NEXT"); My concern is ...
  • 43
2 votes
0 answers
555 views

Getting flow error when running flow from a community page

I am getting a weird issue when running a flow from a community page getting Flow navigation error but i am not getting any issue when running the same in debug mode. In community page i am running ...
0 votes
1 answer
1k views

How do I pass variables from a Process to a Flow?

This is a follow up question to How do you invoke an external service in a flow triggered by a new Contact Creation? What I am trying to do is invoke an External Service, passing it some data, when a ...
2 votes
0 answers
232 views

Flow Trigger Framework

We have various Apex trigger framework resource available. It's great. Now Salesforce launches trigger capabilities within beloved Lightning flows. If somebody has to migrate his/her Apex trigger to ...
  • 14.3k
0 votes
1 answer
140 views

LWCs are not available in sandbox (Where they are deployed)

Losing my mind folks! I have a very basic LWC deployed to my sandbox but both Flow Builder and App Builder do not see them. I'm not sure what I'm doing wrong, any help appreciated! .js-meta.xml <?...
0 votes
1 answer
57 views

Autolaunched flow in salesforce to run only when specific changes to record made?

I am trying to use lightning flow instead of process builder where i see an option like below which allow to run the process only when specific changes made on the record. I dont see similar option ...
  • 1,664
2 votes
1 answer
1k views

How to check if a records exists for a date range in Flows

I have a flow to "Add a Reservation" from Account. The user needs to select the site (Lookup to Account - type site), Asset (Room) and enter the start and end date of the reservation. I am ...
  • 23
1 vote
1 answer
686 views

Add/Remove rows in Lightning Flow builder

I am trying to achieve Add/Remove Rows in Lightning Flow.Currently I have added Add/Remove rows as Lightning Component in flow .But with this component users have to hit save button to save records.Is ...
  • 13.5k