Questions tagged [visual-flows]

Commonly referred as visual workflows.

64 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
1k views

visual flow - how to get existing field values of record and fill it on flow screen fields

working on visual flow and created one flow for insert and working fine. again added one flow for update the records and that also working fine but the problem i am facing is that at time of updating ...
2
votes
0answers
80 views

Flows issue when deployed to packaging dev org

I have a set of flows that I want to include in a managed package. The flows were built in a dev/scratch org with no namespace. After deploying (sfdx) to the packaging org with a namespace, I get an ...
2
votes
0answers
291 views

Visual Workflow creating duplicate records

I am developing an Autolaunched flow to lookup a list of existing Salesforce Affiliation records (a child object) between an Account and a Contact. In my example, I am looking to check to see if a ...
2
votes
0answers
209 views

Returl in Lightning doesnt work

Ive recently update our org salesforce to use the new cool lightning ui for the visual flow, yet - its seems that the flow allways return to the start after I click finish - the Returl I put doesnt ...
2
votes
0answers
643 views

Too many DML Statements 151 when executing flow

I have created a flow that looks up for opportunity object and then performs certain modification. ******The flow works fine in the sandbox however when I run the same flow in production. I get "Too ...
2
votes
0answers
427 views

redirect to mobile detail page layout from flow

I am creating a custom object record via a flow. At the end of the flow, the user is redirected to the detail of the record that has just been created in order to add some attachment. Users will use ...
1
vote
0answers
19 views

Flow - Create unique set of records

Scenario: Asset is related to Account (Each Asset has an Account) Log is related to Account (Each Log has a Account) When an Account is updated(a certain field), I want to create a Log record. If ...
1
vote
1answer
115 views

How to prevent a login flow from applying under certain circumstances?

My login flow prevents users from logging in to Salesforce for Outlook. This seems to be due to a bug: Gorav has suggested here that it "should be possible to bypass the flow for outlook client". ...
1
vote
0answers
81 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://...
1
vote
0answers
17 views

is there a way to check if there is an approval process to aply to a record from a visual flow?

I'm doing a visual flow to validate some information before calling an approval process, in some cases the record does not apply to any approval process and I get an error. Is there a way to know if ...
1
vote
0answers
371 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 ...
1
vote
0answers
14 views

Trying to Send Email Alert on Contact with Multiple Accounts

I created a flow where it will do the count of accounts. The purpose is to get the flow to be invoked once the 2nd account is created. However, when I create an account/contact under the contact, the ...
1
vote
0answers
51 views

Visual flow is not saving address to record in Lightning Experience

I have a visual flow that captures input values of basic address info: Street, City, State, Zip. I am writing them into a "Create New Contact" record but I am having an issue where only the zip code ...
1
vote
0answers
72 views

Visual flow to send out an email to the Selected users from a Multi-select picklist?

Is it possible to send out an email via Visual flows where I have the capability to Select/deselect users(Multi-Select picklist of users)? The users would be Customer Community User licensed users. ...
1
vote
1answer
91 views

email alert on a multiple related objects

I have a junction object which holds multiple accounts, whenever a contact is created on one of the accounts I send an email to the primary contact of the related account. I'm using flow to achieve ...
1
vote
1answer
469 views

Visual Workflow - Issuing with copying email attachment to new email

I am trying to create a flow that can duplicate an email message including attachment onto a new case from an existing case that has been closed. So far I have been able to create the flow as ...
1
vote
0answers
709 views

Flow Lookup - Account Team Member

Cant see what I am doing wrong here - I have a flow that is supposed to be looking up to the Account Team Member Object - I am passing the the AccountID and TeamMemberRole - the flow never finds a ...
1
vote
0answers
275 views

Flow Decision Element Limitation

I have flow in which through LookUp I added 20 decision elements. The flow works fine until it reaches 18 decision points then breaks, there is no error message shows up. Hence want to know hard limit ...
1
vote
0answers
221 views

Error using embedded flow in Visualforce page - Flow not found

I am getting an error "Flow xxx is not found or doesn't have an active version. Please contact your administrator for more information". Little background: There are two pages, Managed and Unmanaged. ...
1
vote
0answers
27 views

Visual Force Flows

Hi I have a doubt on VF flows. I am supposed to make a survey where in there is a question that needs to be answered using a flow. However the task is that once a user selects an option for eg: good, ...
1
vote
1answer
325 views

Salesforce Flow Opportunity to Order Errors

I have an interesting workflow and maybe that is what needs to change. Right now I have Shopify front end and am using Zapier to take orders from Shopify and create accounts in Salesforce as well as ...
1
vote
0answers
660 views

Deployment Error - Flow Must Have a Start Item

I am trying to deploy a flow that simply invokes Apex. It works as expected during functional testing. However, when I attempt to deploy it with Eclipse, I get the below error. Deploy Results: File ...
1
vote
1answer
232 views

Visual Flow - Unable to pass multiple selected values from one screen to next screen

I want to create a visual flow wherein there will be two screens. On first screen I want to select few fields(only name of fields will display in multiselect picklist) from a list of lets say 20 ...
1
vote
1answer
320 views

Creating a flow that will on an existing account create an opportunity and populated some details

i have been working on this for the last 2 days and making bit of progress, i am stuck at the first part which is crutial to me and i cannot get my head around it yet, i think once i can understand it,...
1
vote
0answers
176 views

apex:actionFunction stopping previous button to show previous screen

I have a visualforce page <apex:page controller="ActionFunctionDemoController" > <flow:interview name="Calculator" rerender="ddff" /> <apex:outputPanel id="ddff" /> &...
0
votes
0answers
13 views

Generic Error When Using 'Actions & Recommendations' / 'Guided Actions'

Issue I receive the following error when attempting to use an object-specific quick Action via the 'Actions & Recommendations' Lightning Component: Background 'Actions & Recommendations' ...
0
votes
0answers
31 views

SFDC Flow Launched from Custom Button

I have a custom button on the Opportunity object that launches a Visualforce page. The Visualforce page passes the Opportunity ID to the Flow then launches it and sets the finish location. I know my ...
0
votes
0answers
15 views

Removing duplicate values from a picklist in flows

I'm trying to create a flow that allows the user to log multiple calls for multiple different contacts. The ideal scenario would go like this: User initiates flow from a button on the Account object. ...
0
votes
0answers
15 views

Multiselect picklist field values from a Salesforce Flow are not shown in a Survey I share on a community page

I´ve made a Salesforce flow with a screen component to make a survey and share it to external users with a public community page. Some of the fields I use are multiselect picklists. When I run the ...
0
votes
1answer
17 views

Flow: Collection variable - unable to assign field

I'm missing something with the Flow I'm building...but I'm fairly sure I'm close. Would appreciate any input please. I have a loop running to pull in my related records [working fine] I am storing ...
0
votes
0answers
10 views

Reporting with Custom Objects on Flow Sessions

We are using Flows to guide users through standard processes and want to be able to report on a user's session through the Flow, what choices were selected, etc. The Flows are hosted on a Community. ...
0
votes
0answers
13 views

Processing time of Flow

I have a flow created in Salesforce.It works when a button(generate internship) is clicked on Lead record.So the issue is- When all criteria is met and the generate internship button is clicked, it ...
0
votes
0answers
18 views

Create dynamic picklist in Flow Builder from Text

The requirement goes like this: There is a MultiPicklist Field A on the Account (options -> A;B;C;D;E) and a Single Picklist Field B (options -> A;B;C;D;E) on Case. When the user updates the case, ...
0
votes
0answers
18 views

Flow - How to retrieve first value of a collection variable?

I have to use an Autolaunched Flow to automate the following task: Retrieve all the certain object's records which meet a certain criteria. If the size of the collection is 1 - assign some field ...
0
votes
1answer
63 views

Problem when assigning a record variable to a platform event Message in a flow

I am currently using an organisation with the Summer 19 release update and the API version 46.0 in one of my scratch organisations. I am unable to assign a record variable for stored a Platform Event ...
0
votes
0answers
48 views

Flow screen needs to be default to top of page

I am using flow screens for form. By default when the screen opens, it defaults to the middle of the page. Is there a way, I can make it default to top of the page. Thanks
0
votes
1answer
15 views

What options are available for defining record state (FSM) that will evolve through a process flow?

I'm developing a workflow for converting a lead into a customer with an ongoing service contract. The progress of process is governed by external factors checking out. I would typically use a finite ...
0
votes
0answers
32 views

Navigate to record details of record created during a flow

I'm trying to navigate to record details of record that was created during the flow. I tried adding simple lightning component with lightning:navigation on a last screen but instead of redirection i ...
0
votes
0answers
20 views

Create a location record from an account using lightning flow

We have recently moved to Salesforce Field Service Lightning. Our requirement is to create location records and associate address to the created record from an account. We also want to use the Google ...
0
votes
0answers
53 views

How to find from where the visual flow is being called

We have a visual flow in our org and can someone please suggest where we can find the calling source of this flow. We have checked all the workflows process builders, apex and custom buttons but we ...
0
votes
0answers
15 views

Is there a way to give customer community user access to lightning flow other than visualforce page

I have embedded a lightning flow(an intake form) in Lightning community template(Customer Service). But unfortunately, when I login as community user, I cannot see the flow. I was reading somewhere ...
0
votes
0answers
24 views

User Context on Post to Chatter

I have a client that is the only user on her org. Her profile is System Admin. I need to create a Flow that posts to Chatter. The problem is that her user profile will be the one to run the Flow, so ...
0
votes
1answer
81 views

Customizing the flow message on the Mobile

We are calling a Flow from the Mobile App and we want to customize the success/error message. Example. Let us say the Quick Action name is 'Check In'. Happy Path: 1) From the Mobile App, click on '...
0
votes
0answers
22 views

Is it possible to pre populate text field based on some text field in visual flow in salesforce?

I have a requirement to pre-populate a text field based on another text field in visual flows in salesforce. Can we do this with the help of visual flow in salesforce?
0
votes
0answers
42 views

Is there a way to get Current Flow information when querying on Flow Interview

I want to access the current flow name using Flow Interview object. The current flow field is not accessible in SOQL, is there a way to get that information. I'm trying to recreate the paused ...
0
votes
1answer
584 views

Use the c:updateScreen local action to refresh a related list from a flow

Has anyone figured out how to use the c:updateScreen component to refresh a related list from a flow? Here is what I am trying to do: Launch a flow from an Account page using the new Guided Action ...
0
votes
1answer
295 views

Auto Task Creation

I have created Flows and Process builder process for renewal opportunities, where renewal opportunities are created 1 year from the close date of current opportunities. Now business user requirement ...
0
votes
0answers
61 views

metadata api code to fetch the active status of process flows

CODE: MetadataService.MetadataPort service = new MetadataService.MetadataPort(); service.SessionHeader = new MetadataService.SessionHeader_element(); service.SessionHeader.sessionId = UserInfo....
0
votes
0answers
44 views

Binding variables in Apex and Visual Flow

I have this below flow which i am triggering it from apex trigger. he scenario is When i am creating an Account, i have a email field Email__c. I will be filling this Email__c like Email__c = 'test@...
0
votes
1answer
57 views

Sending an Email alert using Visual Flows?

I am very new to the Flows. Already I came across this link: Visual Flow Guide which just gave some definitions for the fields but not the execution. I've already configured a Process flow that ...