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
1
vote
1answer
25 views

Blank labels in flow formula after packaging

I'm working on a managed package which include a Flow. I want some fields on this Flow to have their labels alterable so i used "Formula" inside the flow with custom labels. This works fine on my ...
0
votes
0answers
94 views

Opportunity Line Item's Unit Price(quoted price) field update from related Product custom field

I have a requirement to update the Unit price(quoted Price) field of an Opportunity Line Item from the related Product Object custom field. And I need to perform this update when I am creating the ...
0
votes
2answers
32 views

Is there any way to give the flow administrator permissions?

The requirement I have is as follows: In the service cloud, a sales agent who doesn't have permissions to create or edit cases, needs to be able to edit cases and create tasks through a flow. The ...
0
votes
0answers
17 views

what are the possiblities that lightning flow is not visible for few users

I have created a flow and added to lightning page but it is not visible to a few users. though I have enabled flow user, and Run flow permission
0
votes
0answers
27 views

Flow Pause Reason Box

Is there a way to skip the pause reason box when you click the pause button on a flow? or maybe replace it with a list of options? Thanks.
0
votes
1answer
44 views

Core actions added to a Screen Flow doesnt open pop up page

I have created a Lightning visual flow with 2 core actions in it. Core actions are based on object specific actions. when i run the flow i am expecting that core actions will open up the pop up page ...
0
votes
2answers
46 views

Mass update through Flow - partial updated first 2 or 3 steps

I am using flow for number of mass update through list view and custom button. It was working since last year. User select set of records (less than 200) and click custom button. It will invoke flow ...
0
votes
0answers
41 views

Flow picklist field outputs picklist field API name when there's no value

In our Visual Flow, we have a screen for Generational Suffix, which is an optional picklist: The Generation_Suffix_Picklist_Choice is a Picklist Choice showing value like "Sr.", "Jr.", etc. This ...
2
votes
1answer
22 views

Chatter post video preview when posting via flow/process

When I manually post to chatter and post a URL (video) I see a preview of the video, I don't get that when I do it via a flow/process - any ideas? I need to be able to achieve this same preview when ...
1
vote
1answer
297 views

How to call flow in lightning component

I need to run/call a flow in lightning component.i am getting the below error message : Uncaught Error in $A.getCallback() [[object Object]] Callback failed: serviceComponent://ui.interaction.runtime....
0
votes
0answers
58 views

Checkbox Group flow not working in FSL Mobile App

I created a flow for FSL Mobile App , it gets the work order Id and displays the work order line item as checkboxes and updates the status of the ones which are selected. Below is the Screenshot of ...
0
votes
1answer
32 views

Lightning flow builder and lightning components

I want to pass the values from a lightning component to a flow. This value will be displayed as a default value on the display text. Is this achievable ? Can someone please help me.
1
vote
1answer
31 views

Prevent parallel executions of flow element

I have a screen flow that is included in a lightning record page. At some point it executes a callout to an external system. The scenario that I would need to avoid is to have multiple users open the ...
0
votes
1answer
63 views

Check if Event already exists in Salesforce via Flow

I have a form/flow that has three fields Start date/Time, End Date/Time and location. What I want is when the user selects the values for those 3 fields in the form and proceeds, I do a record lookup ...
0
votes
0answers
9 views

Lightning flow embedded through application event not launching

I have embedded a flow in a lightning component. My procedure includes an application event. But when I click on the button that launches the flow nothing happens. There is no error message.
0
votes
0answers
20 views

Auto case number based on a specific record type? [duplicate]

We have around 10 case record types. We have one specific record type for our service cases. We want the cases to be assigned an auto case number whenever a new case is created. We do have a auto ...
1
vote
1answer
206 views

FIELD_INTEGRITY_EXCEPTION when creating Price Book Entry from flow

I have created a flow that creates a pricebook entry for new products (based on a custom field on the Product object), however when I debug the flow it comes up with the following quite generic error: ...
1
vote
1answer
264 views

sObject type 'FlowTestCoverage' is not supported

I am trying to run a query in the Developer Console to find the test coverage for a particular Flow I have created. However, I am getting the error: sObject type 'FlowTestCoverage' is not supported ...
0
votes
1answer
189 views

Default value for Picklist in flow to be a custom variable

I am using a flow to make a custom screen. I have a pick list with choices. I want the default choice shown to be a custom choice stored in a variable. Is it possible to have the default value of the ...
0
votes
1answer
18 views

Query for Coverage of Flow

I am trying to find out the test coverage for a stand alone flow. I have a simple test class built, but I'm not sure where to run the coverage query. I came across the query below from the SFDC ...
0
votes
0answers
70 views

How to get the Flow Interview (Scheduled action Queue) related record ID

We have some flow interview queue record which is paused, how could we find the related record id (Parent record ID).
0
votes
0answers
26 views

Retain previously entered lookup values in a Flow

Was wondering if there is a way to save a previously entered lookup value in a flow? i want to give my users the ability to click previous and still have the value they just looked up be there. It ...
0
votes
0answers
11 views

Flows, Getting Data from a custom field only working on some fields

I have custom fields in my record called leads. However, I can only access values from some of the custom fields and not all. I have an object called Lead. I filter lead record and get all lead ...
0
votes
0answers
12 views

Invoking Flow through Trigger - Not able to solve the error “Flow returns Null”

Requirement : To invoke a flow through trigger when "object A" is inserted . Trigger implemented so far :- trigger CallMyFlow on Object A (after insert) { String objectAId; List<Object A> ...
-1
votes
1answer
1k views

Need help regarding the new Lightning flow builder (lookup field)

so as the title says I'm trying to populate a lookup filter when inserting a record using a Flow, I already created the lightning component to serve as a Lookup field and I was able to show it on the ...
0
votes
1answer
58 views

Lightning flow builder

I had to debug an existing flow and ended up looking at this crayonish flow which took my brain a few minutes to remap the existing setup. Purely Aesthetic point of view/OCD point of view too. 1) IS ...
0
votes
0answers
33 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
26 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
57 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
46 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
1answer
279 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
260 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
113 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
32 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
173 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
76 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
61 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
117 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
24 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
39 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
239 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 ...
1
vote
1answer
278 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
159 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
42 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
28 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
288 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
187 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
179 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
95 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
77 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 ...