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-flows]

Commonly referred as visual workflows.

0
votes
0answers
10 views

Can a record returned on a screen flow be opened in a new tab in lightning console?

I have a screen flow that should return a list of records when searched based on Account's email id or phone. I want to be able to click on the record(s) returned in the list and those records should ...
0
votes
1answer
20 views

Workflow Rule not working and unable to auto launch a flow

I created a workflow rule with a field update. Which worked I needed to add another field update to the existing workflow rule that would remove a check mark. The workflow still fires the first field ...
0
votes
0answers
14 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
24 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
3 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
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
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
0answers
19 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 ...
1
vote
2answers
48 views

Unable to locate package after deploying it using workbench

I deployed a lightning component zip file using workbench. The workbench says "Succeeded" but in Salesforce when I checked deployment status it shows "Validate: Succeeded" instead of "Deploy:Succeeded"...
0
votes
1answer
38 views

How do I install 3rd party lightning component to Salesforce that is in zip file

I am trying to install the 'Rich Text Input' lightning component to use it in my Lightning Flow from the following url: https://sites.google.com/view/flowunofficial/flow-screen-components/rich-text-...
0
votes
1answer
32 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 '...
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
2answers
269 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 ...
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
59 views

Detect if record is new from Flow Designer

Is it possible to detect if a record, from a custom object, is new within the Flow Designer? I have a process which executes an autolaunched flow and passes in the record id. I then do a record ...
0
votes
1answer
33 views

As part of Default Outcome, go to next element of the loop

Want to the default outcome of the decision to iterate to the next item of the Loop Variable but it moves to the end of loop. Kindly correct me on what I'm doing wrong here.
0
votes
1answer
66 views

Assign all numbers between StartingNumber and EndingNumber to collection using flow

I am trying to setup a flow that allows a user to input two values: StartingNumber and EndingNumber. I then what the user to press "Finish" and have all numbers between StartingNumber and ...
0
votes
0answers
14 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
18 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 ...
1
vote
0answers
13 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
1answer
114 views

Salesforce Flows by default selects a picklist value

I have a flow in which there are two dropdown fields. By default Salesforce makes these fields mandatory (No complaints) but it is defaulting the first choice value. I want that not to happen. I want ...
0
votes
0answers
11 views

End a Flow in a subflow if a particular condition in the subflow doesn't satisfy

I have a sub-flow being called in the main flow. The sub-flow reads a custom setting which may be set to True or False in a sandbox. The sub-flow reads the org level custom setting and if the custom ...
0
votes
1answer
313 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
38 views

How to access a Org Level Custom Setting in a Flow

How can I read a custom setting in Salesforce Flow. I have created a Org level Custom Setting called FeatureFlag__c with only one boolean field IsActive__c. The idea is, of the org level IsActive__c ...
0
votes
1answer
54 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 ...
6
votes
2answers
202 views

Error deploying mdapi flows to packaging org

I have 4 flows as part of my mdapi deployment from sfdx to my packaging org. I get an error on all 4 flows when trying to deploy. I've tried deactivating them first, no go. I've tried saving them ...
0
votes
0answers
38 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....
2
votes
0answers
43 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 ...
0
votes
1answer
22 views

cannot add sms plugin to visual workflow

i am creating a flow in salesforce and following the instructions as given in the screen shot. I am not being able to understand how to add the sms plugin in the flow (as per the instructions given ...
2
votes
1answer
88 views

Flow Screen shows two headings in Community page

I have a visual flow which runs on a button click. When the button is clicked a modal window appears showing a title - the label of the button - and a spinner: When the flow returns a screen the ...
0
votes
0answers
37 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@...
2
votes
0answers
214 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
2answers
1k views

Flow calling Apex, can't pass Collection Variable

I have an invokable apex method that I need to call from a Flow. Invokable methods are strict in the data type of their parameters -- I can't simply pass a string, instead, I have to pass a list<...
1
vote
0answers
47 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 ...
0
votes
1answer
105 views

Inserting an iframe in a Visual Flow

Has anyone ever experimented or successfully included an iframe inside of a visual flow? I understand there is some HTML you can experiment with in the TextArea resource but I have not had any luck ...
1
vote
0answers
33 views

How Can I Get the Current URL in a VisualFLow [closed]

Can anyone please suggest how to get the Current URl in a Visual flow.
1
vote
1answer
178 views

Using @InvocableMethod Apex Class how can I AutoConvertLead, but using Existing Contact ID from a custom field within same Lead record

Can anyone kindly help with amending the below code so that it can convert the Lead to an existing Contact (and contact's Account) by using the specified Existing Contact ID which would be stored on ...
0
votes
1answer
57 views

Why Queue is not an option in Developer Edition Org Process Builder Flow Update Record Action?

Why Queue is not an option in Developer Edition Org Process Builder Flow Update Record Action? I am creating a package where I set an owner of record to Queue. While on usual sandbox I can select a ...
0
votes
1answer
30 views

How to show visual flows in service cloud? [closed]

I created one visual flow for lead conversion on using Lead object. Now my requirement is How to show visual flows in service cloud for customer? Can you please help me.
1
vote
2answers
474 views

Flow not recognizing enter key/line breaks in long text area field

I hav a flow that fetches data from a custom long text area field and populates its values in the contentnote. I have used HTMLEncode() in my flowformula so that it includes any spl characters in the ...
0
votes
1answer
51 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 ...
1
vote
0answers
61 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
117 views

Linebreaks in Flows to populate body of contentNote

I have a flow that populates the content of a ContentNote record. i use a formula that combines values from various variables in the flow and concatenate it.This concatenated text is displayed in the ...
0
votes
1answer
137 views

Record create in Visual Flow

I am simply creating a record from visual flows. Below is the snapshot of the record create page. On execution of the flow I receive an exception in my mailbox saying INVALID_ID_FIELD: Record ID: ...
0
votes
2answers
830 views

How to debug flow errors?

We have some flows in application which do operations like record update etc, we have WF rules, triggers, process builders as well which also update records. Sometimes i see error like this in logs ...
0
votes
1answer
43 views

Visual Flow - Rich Text inserting unwanted Line Breaks

In my Visualflow all Radio Button Lists, CheckBox Lists, and Multi-Select Checkbox List, give me unwanted line breaks if I convert the label to Rich Text. It's a normal VisualFlow that is not ...
1
vote
1answer
68 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 ...
0
votes
1answer
177 views

Is there a way to make a PageReference method an InvocableMethod?

This is the scenario: I had a VF page call a controller extension,that would have some criteria and redirect the user to a different page (or not, depending on the criteria). Now, everything starts ...
3
votes
0answers
183 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 ...
1
vote
1answer
351 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 ...