Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
11 views

Launch visual flow from process builder tu update same record

I have a process builder to call a visual flow which collect some data from custom metadata based on information in different objects. After get this data, I need to update the record which fired the ...
0
votes
1answer
20 views

Best way to store a value easily editable by apex

I want to store a text value that I can easily modify using apex. I want to use it to change the behaviour of a visual flow depending of the value in this field. I think about custom metadata type ...
0
votes
0answers
28 views

two web service call outs from flow

I need to make two web service call outs. The return of the first call is input to the second call. In my flow, I have two Apex Action elements each using its own class with @InvocableMethod ...
1
vote
0answers
21 views

Add Event Handler to Next button in Flow

Having some trouble validating an Aura component field (it allows lookup in Flow) as i can't seem to think of how to fire an onclick event from the standard Next button (in flow). I would use the ...
0
votes
0answers
16 views

Unable to get record Name, only get recordId to display in Flow Builder

I'm checking out the new Flow Builder in the Spring '19 release, and I'm running into an issue with what I would think to be a simple task; retrieving the name/text from a field on the current record, ...
0
votes
1answer
36 views

“Too Many SOQL Queries” in flow where I need to work with 5000 records

I have a few thousands Contacts and a few thousands Accounts. I need to update a custom field of all my Accounts with Emails of related Contacts. In my flow I get "Error Occurred: Too many SOQL ...
0
votes
0answers
15 views

Salesforce Flow Create Record with Master Detail Relaitonship [closed]

I want to create a Flow that is on my Projects Lightning Page. I want this flow to create a child record of Projects object (Project Docs) and I want to upload files and add data to this child object ...
0
votes
0answers
23 views

Error: top picklist missing

I am using the flow builder to create a three level dependency among three Pick-lists; however, I am getting the following error message(check screenshot too): Error: top picklist missing I am ...
0
votes
0answers
12 views

Create a location record from account using lightning flow

I'm trying to create a location record from an account using Lightning flow. Requirement is that, location has to be created on an account record and create an associated account relation with the ...
0
votes
1answer
31 views

Error when opening Lightning component from Flow

I created a lightning component. I embedded this lightning component in a VF page and then I'm calling this VF Page from a button on Contact Detail page. This is working fine.(We went with this ...
0
votes
1answer
18 views

Custom Flow Lightning Component

I am trying to assign an input variable from the URL. What i have so far is this <aura:component implements="lightning:isUrlAddressable,force:appHostable,flexipage:availableForAllPageTypes,force:...
0
votes
1answer
27 views

Sharing rules in process builder and flow - Too many SOQL queries: 101

I created a flow that is supposed to remove manual sharing of contracts when editing the field on the contact. The contract owner (partner user) has a custom field in which I enter the manager and the ...
0
votes
0answers
62 views

Flow Error - The number of results does not match the number of interviews that were executed

Calling Flow from Process Builder and getting error. The Flow has Invocable Apex solely to collect the "bulkified" records that Salesforce gathers, it was my understanding this is how we gathered them ...
1
vote
0answers
18 views

How to get passed schedule list(Process Builder) - Flow Interview

I need to get what the completed, deleted and failed schedule list which is run based scheduled Process Builder action. I tried using the flow interview objects but in that, we can only able to get ...
0
votes
1answer
29 views

Flow Hitting Governor's Limits

I have a flow that I have been working on for a month now. I got it to work in my Salesforce Sandbox, but I can't get it to run in Production. It keeps hitting the Governor's Limits. I contacted ...
1
vote
2answers
30 views

How to debug a flow as a specific user?

I have a flow, which when ran as the System Admin, works perfectly. When I run it as a non admin, it doesn't and I get: An unhandled fault has occurred in this flow An unhandled fault has occurred ...
0
votes
1answer
21 views

Clone or Reuse Element in Lightning Flow Builder or Visual Workflow

Say if I have an Assignment element that takes in a number variable and then increments it. I'd like to reuse that same element multiple times in different places. Can I do that? At least in Lightning ...
0
votes
1answer
23 views

Send email to each user of a public group, queue, or related list

Is there a way or workaround to send email individually to a user from a public group or queue? My use case is I have a dynamic related list of users (dependent on the type of service that is ...
0
votes
0answers
23 views

Flow Apex Element Error - System.UnexpectedException: INVALID_SESSION_ID

Created a visual flow for user administration. When a user creates a new user the email notification with link is not sent to the user. This solution works: How to send welcome email via API? Using ...
0
votes
0answers
23 views

Why does my picklist field show Required when it is not marked as required?

We are using the new Flow Designer, and in the designer, we have a picklist field that is not marked as required: Yet, when we run the Flow, we get this: Checking the XML, the XML shows the field is ...
2
votes
0answers
18 views

How to set record choice to show options in ascending sort order in new “Flow Builder”?

I have created a Record Choice from a custom metadata object that stores countries. The custom metadata label is the country's name. Here's my Record Choice configuration: However, when I run the ...
0
votes
0answers
23 views

How to set picklist value as required in new “Flow Builder”?

I'm trying to setup a picklist input where one must make a choice (required field) before proceeding to next screen. I have setup a Select_Choice field, with a value of Empty. Whether or not I make ...
0
votes
1answer
30 views

UNABLE_TO_LOCK_ROW Error with flow

When I mass updating contact records. I am receiving UNABLE_TO_LOCK_ROW error. Because I have a process it's updating a specific field in contact.When first name & last name <> null. I know ...
0
votes
1answer
33 views

Get current user's IP address in a Login Flow

How can you get the IP address using a global variable or by querying some kind of a setup record? I've looked at LoginHistory.obj, LoginIP, LoginGeo, but none of them show current data. $UserInfo ...
0
votes
0answers
26 views

Limitations with Cases in Lightning

From my understanding there is no 'Close Case' button for Cases in Lightning. Would it be possible to create a custom button that references a flow that could be present at the header along with other ...
0
votes
0answers
42 views

How to redirect to a newly created SObject record at the end of a flow?

I have been trying to follow the Salesforce documentation, but running into errors such as "We can't execute this action. Ask your admin to check that the "c:OpportunityFinish" Lightning component's ...
0
votes
1answer
19 views

Lightning Action with the new Flow Builder - Navigate to newly created record by the flow

I was able to wire a flow constructed by the new Flow Builder (coming out in Spring'19) to a custom Lightning Action, and this flow sits on opportunity record detail and clones the existing ...
0
votes
1answer
57 views

Unit Test for flows in Salesforce

I have to create a test class for a flow and I wanted to check the flow test coverage for it. https://releasenotes.docs.salesforce.com/en-us/winter19/release-notes/rn_forcecom_flow_test_coverage.htm ...
0
votes
2answers
22 views

ChildId not available when passing Set Flow Variable from Process Builder to FLOW

BACKGROUND I have two objects in a master-detail relationship. One is Parent, the other is Child. I have a Process Builder Flow that starts when a Parent record is created or edited. I have criteria ...
0
votes
1answer
24 views

Using Flow Designer, I'm trying to iterate through a list of items and put the value of a field in a list separated by a semi-colon

I'm iterating through a collection of child object records and grabbing the values of 3 different fields and I'm adding them to one field on the Master (Asset Roll-up). As I assign the child object's ...
0
votes
1answer
18 views

Concatenate Related Contact Email field onto one text field on Account

I am trying to take the "Email" field on Contact records and concatenate it onto the "Related Contact Emails" field (long text field) on the related Account. I would like to have the email addresses ...
0
votes
1answer
32 views

Error from action button which invokes flow

I have lightning Action button which invokes a flow whenever I click on the action i am getting error Unfortunately, there was a problem. Please try again. If the problem continues, get in touch with ...
1
vote
0answers
21 views

External Services flow parameter null

I am trying to use an External Service to make an API call with a flow, and have configured a Named Credential, an External Service with swagger schema, and a flow with the resulting apex action, as ...
0
votes
1answer
17 views

Can a flow produce an error message like a validation rule?

I am working on a requirement to check the Lead/Contact email address, against the email address on a separate custom object named "Do not call Log'. For example, if the email address of fake123452@...
0
votes
0answers
32 views

Salesforce Lightning component navigateFlow action is returning null

I am using a lightning component in a flow with stages. This component is being used in a lightning community page. I am using lightning:progressIndicator in the component. In the component's ...
2
votes
0answers
49 views

Display Image Screen component in new Flow Builder

I was trying stuffs from Spring'19 release notes in prerelease org and found a new screen flow component to display the image: https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/...
0
votes
0answers
27 views

Case milestone conclusion by the user doesn't seem to trigger the process builder?

I'm working on a service system on which the case has a field called "observations". When the case's status change the system is supposed to copy its content to a big object related to the case record,...
0
votes
1answer
14 views

Can i update a Contact record with details from a Contract record using Visual Workflow?

When I update a field 'Description' on a Contract record which is under an Account 'acc', I want to populate a field 'Description' on all the Contacts under acc. Is this possible using Visual Workflow ...
0
votes
0answers
18 views

Screen Lightning Flow, Look Up a Record By Name in a Text Field

Is there a way (without a Lightning Component), to insert a Text Box that Does a Look Up for a record, like in the Product Fields that you get all the options for possible products, or in any Account ...
2
votes
1answer
36 views

Autolaunched flow stopped sending fault emails when triggered via Process Builder

I have a Process in Process Builder that triggers an autolaunched Flow and passes it a Record id. Normally, when the Flow triggered by the Process fails, I would receive two emails: One from the ...
0
votes
1answer
46 views

Lightning Flow from a Case

I've created a simple Lightning Flow that shows just one screen. That screen includes a Lightning component with one input field. (This is a very simple test case.) Then, from the Case object, I ...
3
votes
1answer
51 views

Not being able to access Flow variable in Apex class

I am trying to create a flow which creates an account record and then navigates to the newly created record detail page VF Code <apex:page Controller="AccFlowController" TabStyle="Account"> &...
1
vote
1answer
164 views

Lightning component flow custom validation error message

I'm following the instructions here to create custom validation for a Lightning Component in my Flow: Available For Flow Screens Custom Validation Salesforce validates each flow screen when ...
1
vote
1answer
25 views

How can I dynamically assign newly created users to different chatter groups without hardcoding chatter group ids?

How can I dynamically assign newly created users to different chatter groups based on the market of the users using process builder without hard coding chatter group ids? As of now I have used process ...
1
vote
2answers
265 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 ...
2
votes
1answer
17 views

Can a flow action be packaged?

This may sound simple but I'm trying to understand if a flow action or lightning component be part of a managed package? The idea is to call these flow components from process builder or cloud flow ...
3
votes
1answer
44 views

Supply sObject record to process builder flow via REST API

I'm trying to invoke a custom flow (built via process builder) via REST API. The process begins with a contact record, This process starts when another process invokes it. Select an object ...
0
votes
1answer
12 views

Choice in flow not accepting selection

I have a very simple flow - it shows contacts filtered by one field. The dynamic choice is displayed using radio buttons (drop down shows the same behaviour). When I choose an option and click on next,...
0
votes
1answer
46 views

Getting User custom permission in Visual Flow

I need to check if the running user has a specific custom permission in their profile within my flow logic. How can I check that?
0
votes
1answer
47 views

Query All Opportunities With the Same Owner ID

I am working on something I thought would be pretty easy. My Idea was to calculate the win rate of the opportunity owner and display it in a field on the opportunity record. My first thought was an ...