Questions tagged [flow-screen-component]
The flow-screen-component tag has no usage guidance.
41
questions
1
vote
1
answer
51
views
Screen Flow Number component is not updating
I had created screen flow with three component.
Component 1:Start Date
Type- Date Component
Component 2:End Date
Type- Date Component
Default Value - Formula(Start Date + Days Left)
Component 3:...
1
vote
0
answers
63
views
Get Records step in flow fails with "No Records Found" and exception code 231671529-59965 (977953077). Query in workbench fetches records
(I am an advanced level Salesforce dev/architect. Have developed several flows in the same org and deployed, never had such issues! But this is new since the Monday of this week):
This is a flow I am ...
2
votes
0
answers
35
views
Tools for documenting complex Flows
I was wondering if anyone may know a tool to get documentation of how a flow works.
The thing is, I have a quite complex screen flow, which was built some time ago and there's no written documentation ...
0
votes
1
answer
57
views
Call a URL whithin a flow
I'm pretty new in the concept of flows in SF. I have a button attached to an object which you can see its configurations below; after clicking on the button, this URL will be called:
Now I was asked ...
1
vote
1
answer
140
views
Receiving "LWR3008" error while accessing a LWC screen flow component in LWR sites
I am seeking assistance with an issue I've encountered. Within my current setup, I have an LWC component that functions as a screen component within a flow. This flow is called from another LWC ...
0
votes
0
answers
109
views
Using flow to create X new records, based on user input X, of a custom object
Here's the use case:
User creates a course (custom object) that has X sessions. The goal is to create a screen flow that is launched from the course and asks the user, how many sessions do you want ...
0
votes
0
answers
99
views
How to hide the first picklist from a dependent picklist on a screen flow?
I use the dependent picklist component in a screen flow. I only require the user to input the value of the second picklist (child), they should not be able to change (if possible not even see) the ...
0
votes
1
answer
406
views
making an LWC screen flow component required before submit
I have an LWC I wrote for a screen flow.
In this LWC the user needs to select a value from 1 to 10 by clicking on one of 10 icons.
The selection is passed back to the screen flow using an outputOnly ...
1
vote
0
answers
273
views
Reset the validation message in LWC Flow Component
I created LWC component that is going to be used in Flow.
I'm using validate method() to handle custom validation logic when the user clicks the standard 'Next' button.
The message is shown under my ...
0
votes
1
answer
1k
views
Salesforce Flow Button on a Record Page to automatically fetch record info
I am trying to create a Custom button on an Opp Record Page to trigger a flow.
I placed the flow Button on Campaign__c Record page. This Object, Campaign__c, has a Masterdetail relationship with Opps ...
0
votes
1
answer
156
views
Screen element shown over the quick action modal
I have a custom quick action that calls a lightning aura cmp. this component will in-turn call the screen flow. Over the quick action modal the screen selection element is popping up which looks very ...
0
votes
0
answers
251
views
Search for record(s) in screen flow with autocomplete without context object
I'm looking to create a screenflow that would allow a user to search for a Custom "Employee" object based on some field on that object (could be name, could be another field on the object).
...
0
votes
1
answer
52
views
Can we invoke a screen flow immediately when one screen flow is closed?
I have a scenario where I need to open a VF page that displays the data from the Object which is updated in the Screen Flow. Until the transaction is completed in the first Screen Flow I can't display ...
1
vote
1
answer
3k
views
Not receiving emails from "Send email action in flows"
I am volunteering at a community site, for which I have created a customer service site with digital experience in my developer's org/ developers edition (URL is: https://gopioorg-dev-ed.my.site.com/...
0
votes
0
answers
226
views
How to get Field Data of Selected Object From Field Definition Object In Screen Flow and Display Field Data?
I have Tried this
SELECT DurableId,ValueTypeId,DeveloperName, EntityDefinitionId,QualifiedApiName,Label,DataType
FROM FieldDefinition
WHERE EntityDefinition.QualifiedApiName = 'Contact'
1
vote
2
answers
485
views
Custom LWC Flow Screen Component - reportValidity not highlighting field in red
I have a really simple FSC (simplified for this question). It just contains a lightning-textarea.
I'm trying to get the textarea to be outlined in red when the user clicks Next on a Flow screen and ...
1
vote
1
answer
2k
views
Update a lookup field to 'Null' (remove existing value) in FLOWS
I have got a lookup field on an object, which I would like to update to Null/blank (remove the existing value) using FLOWS.
I have tried to use {!$GlobalConstant.EmptyString} but its not working, ...
1
vote
0
answers
194
views
salesforce commerce - checkout flow - payment - "purchase now" button won't execute apexAdapter
My problem occurs during a screen flow (Checkout flow).
The "Submit Payment" button (which is part of a the payment component) doesn't execute anything while it should execute (for my ...
0
votes
0
answers
659
views
Screen inside Loop in Salesforce Lightning Flow
I'm trying to create a survey form using screen flow and for that I'm fetching the Question records from Question custom object and trying to show Questions as text along with their options as radio ...
0
votes
0
answers
198
views
Scheduled Trigger flow not worked with Pause element
I need the clarification on creating a flow for the below scenario.
I hope this flow needs to create with "Pause" element. That's the reason I tried with Scheduled triggered flow. But am not ...
1
vote
3
answers
760
views
Why am I getting this LWC error - Cannot read properties of undefined (reading 'setProperty')
I'm building a Flow Screen Component, however the error "Cannot read properties of undefined (reading 'setProperty')" is being displayed below the component when I debug my flow.
Here's my ...
1
vote
0
answers
253
views
The footer of the screen flow has spaces around window
Why The footer of the screen flow has spaces around window?
the screen flow runs from the button and does not wrapped to any lightning component
when I investigated it through Dev tool, I noticed ...
0
votes
1
answer
3k
views
Why is the error "Cannot read properties of undefined (reading 'setProperty')" occurring in my LWC FSC when using section components on flow screen?
I'm building a LWC to be used as a flow screen component. In the LWC, I allow the border color of the component to be customised using a custom property. To set the color of the element, I'm using ...
0
votes
1
answer
424
views
Lookup component having search and create ability in flow
Is there any way we can utilize the lookup component available inside the record page, where we have the ability to either search for a record or create a new record altogether, be available in a flow?...
1
vote
1
answer
353
views
Is it possible to subscribe to events in a LWC flow screen component?
I have an LWC FSC (flow screen component).
I am trying to subscribe to a CDC event, but the subscription never seems to execute.
The same LWC when displayed on a lightning record page does subscribe ...
0
votes
1
answer
178
views
"Launch Flow in Modal" button not appearing for non-admin user
I have installed "Launch Flow in Modal" in a Sandbox and put it on a custom object record page. However, the button only appears for Admin users, not for non-admin users. The test users' ...
0
votes
1
answer
1k
views
Contact/User lookup gives error in on screen Flows
So the deal is that I'm trying to create a new record in a custom object (IT Order) used for internal orders. I would like to create a nice looking on screen UI experience to the employees. But when I ...
1
vote
1
answer
407
views
Screen Flow Error on an External Web Application
I am embedding a Salesforce screen flow in my web application using Lighting Out feature. It worked for very basic screen flow with 2 screens but when I used a complex screen flow it is showing me ...
0
votes
1
answer
44
views
Salesforce Flows
I got a Question regrading the Screen Flow !!
I added the Flow in the User Interface of Account object to Create Contact !!
It was working fine !!
Now I deactivated the flow form the setup but haven't ...
0
votes
1
answer
868
views
I need to display selected checkbox items , if user click previous button able to show the selected items
I developed one screen flow where the user selects multiple items through LWC I implemented. Clicking Next will redirect me to next screen. When I click on Previous button I am unable to show the ...
1
vote
1
answer
3k
views
Populating the Current Record in A lookup field in a screen element in Screen flow
I'm trying to add a Lookup Field where I try to populate the current Record from where I try to start the screen flow.
I tried various ways to fill it but it is not filling up.
Below is my screen ...
1
vote
1
answer
2k
views
Issue with Loop and display of list Using Salesforce flow
I have the below salesforce flow:
What the flow is trying to do:
On the first screen get the Account name and account number
If Acc number = 1 then assign acc values to a record variable ...
2
votes
2
answers
402
views
Why does the second instance of my wire adapter not work when I am using @api variables?
I am trying to retrieve picklists from two different record types of the object Case by using getPicklistValuesByRecordType(). I can accomplish this if i write my code like the following:
import { ...
1
vote
1
answer
555
views
How can I automatically assign values to the field based upon the checkbox selected by the user in flows?
I am trying a lot to assign template values based upon checkbox list choice by the user. Unfortunately, it is working but not completing addressing the feature I need.
For example, if user chooses the ...
1
vote
2
answers
1k
views
Flow Screen Component LWC - How to maintain internal state on page navigation or page validation error
Problem
When creating a LWC FSC, the internal state of the LWC is reset when the user navigates to another page and back, or attempts to navigate to another page but is kept on the same page due to a ...
1
vote
0
answers
2k
views
LWC Flow Control - Finish throws exception
THE CONTEXT:
I am creating an LWC as a screen flow element. The LWC is very simple, it displays in a radio button group all of the existing Opportunity record types.
Once the user selects a record ...
5
votes
0
answers
743
views
Boolean result from subflow doesn't work as condition for display text?
TL;DR
Why do I have to create a formula to use a boolean output variable as a visiblity condition in a flow? is there a better way to do this?
Detailed question:
I have a subflow (auto-launched) that ...
1
vote
2
answers
12k
views
Flow Component to display list of Account records in a screen Flow
I'm calling an apex class from a screen flow that would return me list of account records. I want to display this list of records and be able to select those records individually in screen flow. Is ...
0
votes
2
answers
3k
views
TypeError: 'set' on proxy: trap returned falsish for property
I have a problem on a datatable with inline edit used in a flow. The edits must saved on the JS array and refresh the table with new values.
When i want to save the edits, i get the error of Uncaught (...
2
votes
1
answer
4k
views
Pass Generic SObject List From LWC to Flow
I am trying to pass SObject list from LWC to flow.
I have set the property and property type.
<targetConfigs>
<targetConfig targets="lightning__FlowScreen">
<...
5
votes
3
answers
1k
views
LWC Flow Screen Component - {!$GlobalConstant.True} is undefined
Is there a known issue with passing in the {!$GlobalConstant.True} into an LWC FSC?
When I pass {!$GlobalConstant.True} into a Boolean attribute on an LWC, the LWC doesn't receive anything. The ...