Questions tagged [visual-workflow]

Visual Workflow allows administrators to build applications, known as flows, that guide users through screens for collecting and updating data. For example, you can use Visual Workflow to script calls for a customer support center or to generate real-time quotes for a sales organization.

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

Radio button Required true not working in flow salesforce in New Release

I have Created one flow and placed a Radio Button in one screen with required true. Whenever debug flow and skip selection of any radio values then whole flow display as a blank screen. Please see ...
1
vote
1answer
24 views

How to disable next button in flow builder

I have built a form using the flow builder and I would like the "Next" button to be disabled until all required conditions are met. Is this functionality possible to implement using the flow builder?...
0
votes
0answers
16 views

Stop Autolaunched Flow when Object Deleted

We are using Autolaunched Flows, many of which include Pauses of several days. Because of the Pauses, many Flows are throwing errors because the Objects that triggered them (via Process Builder) get ...
0
votes
0answers
19 views

Contact Activity Timeline - adding other Contact related information (Cases created)

A question: would it be possible to add to the Contact Activity timeline items such as Case created , potentially also Chats & Messages from the service console? The idea being a more wholesome ...
0
votes
0answers
21 views

Lightning Flow fails to trigger with Dataloader but works with manual update

When I try to run the mass upload the record picklist And Text field value does not update but if I manually edit the record the flow triggers fine Create a new Autolaunched flow Double-click on the ...
-2
votes
0answers
12 views

Assign Lead to Campaign? If already assign then show custom message in Process Builder? [closed]

Assign Lead to Campaign? If already assign then show custom message in Process Builder? Or is there any other way.
0
votes
1answer
29 views

Pass aura:attribute type=“String[]” from component in one flow screen to the next, but

I have a component in my first flow screen that shows a list of objects I created using a wrapper class in Apex. The four fields on this object are modelNo, Description, StockOnHand, and Quantity. I ...
0
votes
1answer
14 views

How to set Sender Address in flow's “core action”

I am struggling to set the sender address when sending a simple email using the Flow's core email action. No matter what I put in the sender address field, the running user's email (my email) appears ...
1
vote
1answer
17 views

Any workaround to use Flows in SF tabs + visualforce template

As documented in Salesforce, Flows cannot be used in Salesforce Communities based on tabs + visualforce template. We have one functionality already developed using flows, we wanted to open same for ...
0
votes
0answers
30 views

Error Occurred During Flow Action name not found: null. Need to force Class Compilation?

I've occasionally been running into a problem when installing a managed package I'm creating. A simple Screen Flow where at the end it is using an Action to call into an InvocableMethod I am providing....
5
votes
1answer
172 views

How to get list list of flows accessible by a User based on Permission Sets?

In order to provide more granular and controlled access to flows, all our flows are enabled with access setting of "Override default behavior and restrict access to enabled profiles or permission sets"...
1
vote
0answers
41 views

LWC - When to use FlowAttributeChangeEvent?

I'm confused around the use case for throwing particular event. I have an LWC with an @api getter and a private setter. This ioSelections is marked in my targetConfig as a flow attribute in order ...
0
votes
1answer
19 views

Displaying created case numbers on screen flow?

I have a screen flow used to create cases to the trading department. The flow functions as it should, however on the final screen, I want to give a reference to the case numbers that were created. I'...
0
votes
0answers
17 views

Lightning Flow Create Record

Can I use a lightning component in a lightning flow to decorate text and update it the same way in notes(create records) as it is in the lightning component. I just want to orient the text in proper ...
0
votes
2answers
22 views

How to deactivate the flow?

When I am attempting to create a flow its showing an error maximum flow reached. Is there any way we can deactivate the existing workflows?
2
votes
1answer
35 views

How to pass lookup value searched in flow to a lightning component

I have a lightning flow. In my flow I have used a lookup screen component for a lookup field. I am storing the Id in a flow variable. Now I have a lightning component just below the lookup, to which ...
1
vote
1answer
28 views

Flow Conditional Visibility for Radio Buttons

Any flow experts out there? I am trying to use the new component visibility feature in flow that was released in Winter 20. I have a screen input radio button element for my choices. Depending on ...
0
votes
1answer
34 views

Quick Action and flow to create a record in ligthning

I am trying to create a quick Action that calls the flow and lightning component to create a record as suggested in the blog here. I need to create a record of custom object from Opportunity record , ...
0
votes
1answer
19 views

Custom Quick Action for Flow

How can I create a new quickaction for a custom object to be used in this flow?
1
vote
1answer
38 views

Limit field's pick list options on screen component in a flow

I am creating a flow to Submit a form in HR for processing and it has 14 required fields and 8 of those are picklists. One picklist has to only show 4 out of many options due to Record type ...
1
vote
0answers
18 views

Styling an Embedded LWC on Flow screen

Is it possible to match the width of the standard screen elements that flow provides out of the box (like "Date" & "Type")? My custom LWC (Products) seems to be taking up 100% of the real estate ...
0
votes
1answer
30 views

Possible to Terminate (Master) Flow Interview in a Subflow?

Background I'm calling a subflow (aka a referenced flow) from my master flow. When the flow interview finishes running through the path in the subflow, it resumes the path in the master flow. I'm ...
0
votes
1answer
29 views

Flow Builder - Dynamically Get Queue Id by Name

I am using flow builder to create cases and assign them to specific queues based on criteria within the flow. In the Assignment element, I can set OwnerId to a hard coded id string or a resource. ...
3
votes
1answer
57 views

Task Object - Get Picklist Values by RecordType?

The UI API provides a nice getPicklistValuesByRecordType resource but it doesn't support the Task object. I've looked everywhere, but I cannot find an alternative solution. Does anyone have any ...
0
votes
0answers
25 views

How to pass a picklist field from flow builder to lightning web component

I am trying to use this LWC in my flow builder. The LWC expects an array of objects as input. My goal is to pass in a picklist field of an object to the LWC to display the available choices. I looked ...
0
votes
0answers
18 views

Lookup component in Flow not returning search results

I am trying to build a flow with a lookup component, Please refer to the below image for the lookup Component details in the screen Here Fee_Allocation__c is the name of the Object which has a field ...
0
votes
1answer
50 views

how to dynamically require field in flow builder using formula

Question Is it possible to make a field required dynamically depending on another field's selected value? Acceptance Criteria If a user selects "Sales" from the department dropdown menu, make the ...
0
votes
1answer
45 views

Flow Builder - Lookup Input Component No Records Returned

I am trying to use the lookup input component in a flow to find a user record by email. Lookup component setup screenshot below where EmailAPIName = Email and UserAPINameConst = User and are both of ...
0
votes
0answers
37 views

Lightning component embedded within a flow screen - unable to get latest attribute value

I have a flow screen which has a standard input text component with API Name as 'AccountNumber'. I have disabled the standard footer and embedded a custom lightning component to control the flow ...
2
votes
3answers
68 views

Do Scheduled Flows run with Admin permissions?

I have a scheduled flow that calls an Apex Class. This class mainly identifies certain records and, if they are "pending" in an approval process, it recalls them and updates some fields. The process ...
-2
votes
1answer
35 views

Lightning flows

How to call a screen flow from a button(quick action) in a lightning record page? I need to have screens in the flow and need the flow to be executed on the click of a button.But screen flows are not ...
4
votes
2answers
128 views

Why Does Flow Proceed Even Though Required Fields Are Blank?

Issue 1 I have a screen in my Flow with three required input components: Type (picklist) First Name (text) Last Name (text) However, I am able to click Next even if the required input components ...
2
votes
1answer
49 views

Possible to Break Out of a Loop in Flow Builder?

Background I've set up a nested loop, containing two loops in total, in a Flow: If certain conditions are met while iterating through records in the loops, I would like the Flow to exit/break the ...
1
vote
1answer
23 views

Can I reference a flow variable in a custom lighting component placed on a flow screen?

Is it possible to reference flow data in a custom lightning component placed on a flow screen? Basically I have a component that is executing methods that require data that is gathered earlier in the ...
0
votes
0answers
37 views

Getting null values when retrieving Flows via Apex Metadata API

When attempting to retrieve Flow-specific data via the Apex Metadata API each value in the key-value pairs is null. Here is the code: private static void getFlowMetadata(Double apiVersion, ...
2
votes
1answer
30 views

How can I send a variable with a type Apex-Defined to subflow? [closed]

How can I send a variable with a type Apex-Defined to subflow ? Or this impossible?
0
votes
1answer
44 views

Get record Id in Apex class

I have a function that does API callouts. It takes a string as a parameter, which is the record ID. I need a way to make an InvocableMethod so I can call that method with the current record ID from ...
1
vote
1answer
44 views

Why Don't LWC Properties Render Correctly in Flow Builder?

Background We've built-in a number of properties for a LWC, and have allowed it to be visible in Lightning Record Pages (lightning__RecordPage) and Flow Screens (lightning__FlowScreen). The ...
0
votes
2answers
113 views

Unable to get Resource in FLOWS

I am doing Trailhead -"Build a Simple Flow" In third Section-Branch the Flow: I am not getting Select value for Resource as highlighted Also i m sure update toggle is there as i have passed ...
1
vote
1answer
24 views

Trigger to start a Screen Flow

I would like to know is it possible to start a Screen Flow using custom trigger? I tried searching but I'm only seeing samples for auto launched flows. If it's possible can anyone provide me a ...
0
votes
0answers
55 views

Custom footer layout in lightning flow inside a modal

In order to implement my business process, I set up a flow which is called inside a modal when the user clicks a lightning button on an object's record page. To improve the user experience I tried to ...
-1
votes
2answers
69 views

Auto Populate the Company Field During Lead Creation

I would like to auto populate the Company Name field, during lead creation, based on the Account Name selected from a custom Account Lookup field on the lead object. As soon as the user selects the ...
1
vote
0answers
39 views

Does Flows support partial save?

We have Flows that creates and updates records. If any of the record fails due to bad data, whole batch of records is failing. And these records roll over to next batch and are consistently failing ...
0
votes
1answer
37 views

Flow embedded within a Lightning Component, can't navigate programmatically

I have a flow embedded within a custom lightning component where I'm trying to programmatically navigate the flow (hit the next button) if/when the user presses enter, here's the code I have so far: ...
3
votes
0answers
24 views

Possible to Resume Other Users' Flow Interviews?

Background I'm trying to allow non-system administrator users to resume Flow interviews by other users. Approach I thought this would be possible using a custom Aura component that allows you to ...
0
votes
0answers
16 views

Possible to Take Action When a Flow Interview Is Resumed?

Requirement Keeping track of the dates and times on which certain Flows are started or resumed. Approach Custom object for storing this information (it is used for history tracking purposes) - let'...
0
votes
1answer
27 views

Custom font not displaying correctly in Screen Flow

I have built a visual flow and embedded it in a Visualforce page, then hosted in a force site. We also have our own custom font which we would like to display on the flow. However, it doesn't work, ...
0
votes
1answer
24 views

Flow not finding records

I have a flow that is used to get all Accounts that match the User.Company__c field, which is a formula on the Account object (Account.Company__c), based on the Owner. Once records are found, they're ...
0
votes
0answers
31 views

Insufficient Access to the record

I am creating a task and custom record using a flow and for temperory use creating another custom object record, after the transaction is done the flow will delete the 2nd custom record, here I am ...
2
votes
2answers
82 views

LWC - error adding a targetConfigs into metadata (The 'targetConfig' tag doesn't support text.)

I have the following js-meta.xml file for a lightning component. When I save this I get an error: The 'targetConfig' tag doesn't support text. What is the solution for this? <?xml version="1....