Questions tagged [lightning-flow-builder]
The lightning-flow-builder tag has no usage guidance.
41
questions
-1
votes
1
answer
50
views
Redirect to 'create new record' page from flow
I have scenario where I have designed a flow that when new button clicked on A1, A2 or A3 object's, flow ask questions and then creates record for A1, A2 or A3 based on asnwer. As soon as user click ...
0
votes
0
answers
25
views
Latitude and Longitude not saving to record in Flow (other values are saving except for these)
I need geolocation for my person accounts but Salesforce does not support this, So i created a flow as a workaround since Salesforce only support GeoCoding on Accounts, Contacts and Leads
Basically ...
0
votes
0
answers
46
views
Why does Flow Builder Refresh Randomly?
I've had this happen many times where I'm working on a flow, and the screen refreshes randomly.
At first I thought I may have accidentally hit Ctrl + R or some other shortcut, but after repeated ...
0
votes
0
answers
166
views
How to pass variable to screen flow from lightning aura component for creating new records
There is a particular object Playbook__c which has master detail relationship with Contact. In this Playbook__c object, there is Contact__c field which is basically the master detail field.
Now our ...
0
votes
0
answers
73
views
Einstein Next Best Action Strategy Source "Flow Builder" doesnt pass recommendationId to flow
I have a Einstein Next Best Action Component on my Opportunity Page Layout. I can choose the "Strategy Source" as "Strategy Builder" or "Flow Builder"
When I select "...
0
votes
1
answer
49
views
Unable to Upload Files of Lightning Flow launched by Visualforce
We are using Visualforce override page for New Case Action that is triggering Lightning Screen Flow via Lightning Out.
The Lightning Runtime in Visualforce Page was Rendered according to Salesforce ...
0
votes
2
answers
296
views
'Create Records' option missing in the Add element in Lightning Flows
I am new to Lightning Flows.
I am currently using a Record-Triggered flow to update a field in Opportunity and I want to insert exception records using the custom Exception Object.
I have populated ...
0
votes
0
answers
315
views
How to pass selected records i.e, list of records which isn't related to any sObject and Custom Object from LWC to Flow
I'm having a list of records which isn't related to any custom or standard object I need to pass it to Flow. how to pass the list of records from LWC to flow using in js-meta.xml and also help me ...
1
vote
1
answer
132
views
Update Fields on Object B, 5 days after the expiration on Object A
I am pretty new with Flows builder.
I am trying to create a flow that updates a picklist field and a checkbox field on Object B's record after 5 days of an expiration date on Object A's.
Object A is a ...
0
votes
0
answers
174
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 ...
0
votes
1
answer
443
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.
...
1
vote
1
answer
414
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 ...
0
votes
1
answer
1k
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
2
answers
755
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?
0
votes
1
answer
2k
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
908
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
898
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
841
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 ...
0
votes
1
answer
2k
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
904
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
726
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 ...
1
vote
3
answers
14k
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
445
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
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
1k
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 ...
0
votes
1
answer
1k
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
2k
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.
0
votes
1
answer
1k
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
386
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
211
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 ...
2
votes
1
answer
499
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 ...
1
vote
2
answers
1k
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
3k
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 ...
2
votes
0
answers
759
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
2k
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
240
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 ...
0
votes
1
answer
181
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
81
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 ...
2
votes
1
answer
2k
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 ...
1
vote
1
answer
1k
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 ...