Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
0answers
12 views

Lightning Runtime Flow URL retURL to any page on salesforce is broken because of CORS

CORS Error: CORS: No 'Access-Control-Allow-Origin' header is present on the requested resource. Access at XMLHttpRequest at 'https://domain-dev-ed--c.na94.visual.force.com' from origin 'https://...
0
votes
1answer
14 views

Launch Flow from Button in Lightning Community - “down for maintenance” error

Summary: I'm getting a "down for maintenance" error in my Lightning community when I click a custom button that launches a screen flow to create a user from an existing contact. The button works in ...
0
votes
2answers
19 views

Using Flow but need Complex equation to set a value

I'm using a flow to do a nightly (1am) job. This job sets a Boolean to false if it is true and to true if the Next Email Date is Today(). I need to use this job to also set the Next email date for ...
0
votes
1answer
26 views

Pass application event to another component in Lightning Flow?

I'm trying to build a form of "journey" through lightning components in the new Flow designer but I'm having a hard time making the flow play. Basically, I've got component 1 that let's the user ...
0
votes
0answers
21 views

Invocable Apex working when called from Process Builder but not Flow - what's wrong?

I have an invocable method that works just fine when I pass a Contact record Id to it via Process Builder. I'd like to use Flow to do this rather than PB, but get this error message: Error Occurred: ...
0
votes
0answers
17 views

Process builder and mass update

My question is about behaver of Process builder when we do mass update with ListView or Data loader. Is it triggered sepeparately for each record? If not and it is mass triggered how can we secure it ...
2
votes
1answer
34 views

How to pass in a list of Strings to an Apex Action in new Flow Builder?

I have a simple screen flow, which takes in a case Cancel Reason, and if that reason is Other, will get allow a user to specify the other reason via text entry. We have an Apex server method called ...
1
vote
0answers
12 views

Using a filter with the lookupFSC component

I'm using the lookupFSC component in a screen flow. I'm looking up contacts and would like to filter the available contacts based on the value of a rollup summary field. I can't seem to set the ...
0
votes
0answers
9 views

Reference a table and return a result in Salesforce [closed]

I'm looking for some help with the design of a discount process in Salesforce. Based on the combination of two variables (number of employees and discount percentage), one of three outputs (green, ...
1
vote
0answers
18 views

How to manage versions of scheduled flows?

We have an autolaunched flow that we would like to run on a schedule. I have created an apex class to do so, but when testing the class, I discovered that it is encountering errors only associated ...
0
votes
0answers
10 views

Stop flow from restarting

I have a flow that categorizes uploaded files. I use a component to pull the ContentVersionId and pass it to the flow (which is started from the component) where the user selects the proper ...
1
vote
0answers
23 views

How to Make Sure Apex Class is Called after Campaign Member Automatically Added/Removed

Been running into this issue for a while and would love some assistance. More than anything, I think this is a question about how to work around permissions. I hope this is the right place to ask this ...
0
votes
1answer
17 views

Flow builder - Style

I am currently working on a flow and I would like to make some style changes. The tool is pretty cool but seems very hard to customize. Is it possible to customize the style of a flow? if yes How ? ...
0
votes
1answer
26 views

Why Is My fast update not Working if more than 12 records selected

I'm Working on a flow that gets records (Time_Card__c) if their Invoice field is null. It then populates a Record Collection variable and does a fast update. If I select 12 or less records it works ...
0
votes
1answer
25 views

Flow Get/Create Records

Using Flow, I am trying to capture all the records of an object (A) and use selected fields to populate a new object that I am creating (B). I am using a record collection variable to capture all ...
0
votes
1answer
55 views

How to populate the field value from one object to another object in a flow? Maximum number of duplicate updates in one batch (12 allowed)

I have a flow which loops through assets and adds the asset's status to a text variable. The last element in the flow is an update element which updates a status field on the corresponding asset's ...
1
vote
0answers
32 views

How to design Flows to stay under new per-month governor limit? [closed]

As I am aware, the "Maximum Flow Interviews Without UI per Month" governor limit is relatively new in a recent release of Salesforce. One of my Salesforce orgs has a few hundred Salesforce users and ...
1
vote
0answers
32 views

Set two columns for a flow inside a custom component

For a regular Lightning Flow Component this option is available to change the Layout for the flow: However, I have my flow inside a custom component: Component: <div class="slds-theme_default"&...
0
votes
0answers
18 views

Flow inside a Lightning component

I have 2 Flows (Flow 1 and 2). Im calling Flow 1 inside a Lightning component (in screen element) of Flow 2 so I can update the CSS properties of standard Salesforce flows. However, everytime my flow ...
1
vote
1answer
30 views

Apex access to Flows

I have a datatable with an actions menu on the right side. I want to populate that menu dynamically with the names of Flows that accept inputs of a particular name or SObjectType (that which is ...
0
votes
0answers
38 views

Flow Builder - Save screen input into a record field

I am using the new Flow Builder. I have a requirement to show specific set of fields of a custom object, and to enter a new record on the next button with these fields. For that I am creating a ...
1
vote
2answers
65 views

How to expose LWC to flow builder

I'm looking for ways to expose one LWC to flow builder to drop it on a screen component. Anyone aware of any such attribute that needs to be set in LWC Meta.xml
0
votes
1answer
10 views

Copying EventLogFiles to Custom Object using Process Builder / Flow

I am looking at saving EventLogFile entries to a custom object. In particular I am interested in the ReportExport EventType. Is it possible to use configuration (not a trigger) to create a record, ...
1
vote
1answer
12 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
12 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
31 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
12 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
9 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
10 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
20 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
19 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
18 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
25 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
15 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
17 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
23 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
34 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
8 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
18 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
43 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
69 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
0answers
57 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
14 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
30 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
9 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
8 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
9 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
261 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
32 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
17 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 ...