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
0
votes
0answers
4 views

Field Integrity Exception while deploying Flow

I've a flow which saves fine and as of now do not run into issues on dev sandbox. However , when I try to deploy this to Test org I run into Field Integrity Exception. How can I find which field is ...
0
votes
0answers
8 views

Prevent Visual Flow Screen from Clearing When Clicking Next

I have a visual flow screen with a mix of out-of-the-box and custom Lightning Web Components on it. Some of the OOTB components are marked required and one of the LWCs has a validate() method that ...
0
votes
1answer
13 views

Convert the lead created in a screen flow to an opportunity automatically

I have lightning flow which creates a new Lead record. Now my requirement is that, as soon as my lead gets created its has to be automatically converted to an opportunity. I understand, that I can ...
0
votes
1answer
18 views

Determining which response code was received by External Service

I have a simple external service definition that can return a 202 or a 401. I cannot figure out how to tell which response code is returned. The endpoint is an azure HTTP endpoint on microsoft ...
0
votes
1answer
16 views

Default value is not set for Lookup field (Opportunity)

When i invoke a flow through Debug Mode, the Input variables screen is showing up. Also when i embed the flow in Right Header Page, the Opportunity Value is displayed as default value. But when i ...
1
vote
0answers
18 views

How to resolve the flow error : You can say myField, myField.myChoice.selected, or myField.myChoice.input when using 2 columns in screen flow

When using a Screen Flow for Order creation, on the record creation screen flow is throwing an error "Could not resolve 'xxxxx'.You can say myField, myField.myChoice.selected, or myField.myChoice....
1
vote
1answer
49 views

The use of FlowAttributeChangeEvent in LWC

I have a lwc which is used in a flow. I have several variables from the lwc that are exposed to the flow. I need to make the flow know when these variables changes, so according to documentation I ...
4
votes
1answer
56 views

Deploying project via SFDX spawns new Process Builder versions

We just started using VCS for all metadata changes for our orgs. One problem we encountered is, that when we deploy changes to org via sfdx force:source:deploy, sometimes a new inactive Process ...
5
votes
3answers
224 views

Cusom Lwc in Flow not returning value, summer 20

I am using custom lwc to capture data about selected checkboxes inside flow. It was working properly until summer 20 release. Now it does not return any value. @api get result() { return this....
0
votes
0answers
16 views

Refresh custom lightning component data on flow completion

I have a Opportunity Record detail page. I have a flow screen on a detail tab. There is a custom lightning component, under the same tab as well. My requirement is that, the lightning component ...
0
votes
1answer
32 views

Using a collection of IDs to Get Records using FLOW

I am trying to Get multiple contacts from Flow by using a collection of IDs. In the below image I am looping through each opportunity contact and adding the Contact Id to a collection. Then I want ...
0
votes
0answers
13 views

I am Invoking a Flow from Opportunity Related List. Can i able to pass the Opportunity and default in a Lookup field?

I am Invoking a Flow from Opportunity Related List. I have Opportunity ID as a Lookup field in the Flow->Screen1. Can i able to pass the Opportunity and default in the Lookup field?
0
votes
1answer
22 views

Save button is disabled in Flow builder

Save button is disabled in Flow builder. Even after i save this as a New Version, the Save Button is not enabled.
1
vote
1answer
15 views

Flow: Pass sObject Variable to and from a subflow

Is it possible to pass sObject record variables from one flow to another? For example, if I provide the user the ability to jump into a screen subflow to create an Account or Contact (which I would ...
0
votes
0answers
8 views

Flow builder & Pause element with more than one output is not working

We have a basic flow with a pause element to execute two different actions based on two paused conditions; the first one executed 1 hour after the current time and another one to be executed 2 hours ...
0
votes
1answer
37 views

Success true but nothing is showing up in my Org

I'm using the workbench to upload some deleted flows to my sandbox so we can fix and re-deploy to production. I got the instruction how to do this from OwnBackup but they are not working. It says ...
0
votes
1answer
41 views

Assign Leads to users with custom logic

I need to assign leads to users with a custom logic. So I would like to change the OwnerId to a new one selected during apex trigger call. I saw that it was not possible to change fields on Lead with ...
0
votes
1answer
19 views

Regex for phone number field in Flow screen input validation doesn't return any error

I've the following working REGEX code set as validation rule when we create an account. I've create a Flow and set this REGEX as pattern into a phone number field in Flow screen input validation and ...
0
votes
1answer
22 views

Lightning Scheduler “Outbound Modify Appointment” Flow: No access to Primary Field

I am debugging the Outbound Modify Appointment Template Flow but I can't access the Time Slot Screen: It shows a non-intuitive message Looks like you don't have access to the Primary field, so ...
0
votes
0answers
21 views

Create select all checkbox such that if select all is done then all attachments must get selected

Below is my VF Page and i need to create select all checkbox such that if select all is done then all attachments must get selected and then user can delete them at a go. VF PAGE <apex:page ...
3
votes
0answers
38 views

Why do notification types have a name?

I'm asking about the "bell icon" notifications here. This Getting your users attention with Custom Notifications article illustrates the UI where you have to add a custom notification type before ...
0
votes
0answers
13 views

Error message coming up at the undesired Lightning Flow Section

I have a Lightning Flow embedded in the Lightning Record Page. There is the detail page as well wherein click on a button calls the Approval Process. If the conditions doesn't satisfied for the ...
0
votes
0answers
20 views

Manipulate packaged flow using Apex

In my Managed Package I have a Flow template which subscriber can clone/reuse and customize to their needs. I now want to provide a bite more guidance on such a customization and relate a packaged ...
0
votes
1answer
36 views

Lookup User Field in Flow is Failing

I am using the standard lookup in Salesforce Visual Flow and when I looking up to the User using the Contact OWnerId field, the flow fails. Here are the following fields I put in. Field API Name: ...
1
vote
1answer
33 views

Is it possible to get the sObject type in the flow

I know I can get record id of current page in the flow. How do you get the sObject type of current page in flow?
0
votes
0answers
20 views

Update field using loop at creation of Record [closed]

In the application I'm developing in, Cases are created using Email-to-Case, with the Case Name being populated as the Subject of the email. I would like to remove any RE: or FW: tags from the case ...
0
votes
1answer
15 views

How to get grand parent record in a Flow element

I have the following relationship between 3 objects. (Contact would be the grand parent) If I have the payment record in a flow element, how can I get the Contact record (without using another query)?...
1
vote
0answers
44 views

Receiving “action must not be null” after invoking a Flow from an Aura component

Issue: Receiving "action must not be null" after invoking a Flow from an Aura component. Setup: In my application, I am utilizing a master flow to collect information. The process is laid out on a ...
1
vote
2answers
31 views

Same Image Preview getting displayed for all attachments

I am trying to display respective attachment preview on a VF Page, but if you can see below picture of my VF page, same image is getting displayed for all attachments, not sure where i'm going wrong ...
0
votes
0answers
7 views

Struggling with created EmailMessages from Flow - isTracked & FromId not properly working

I have created a Flow that sends an email using emailalert and afterwards creates an 'emailMessage' record in order to show that email in the activity timeline. This is working so far. But there are 2 ...
0
votes
0answers
44 views

Flow Loop not processing the last record

I'm building a flow that takes the subscriptions listed on our contract record and creates a record in a custom object called Entitlements. Our contracts may have the same subscription listed more ...
0
votes
0answers
40 views

External Services Flow returning null

I've created a flow to utilize an External Service, however, the flow appears to be returning a null object response despite the 200 status code. In addition, the flow doesn't seem to allow me to view ...
0
votes
0answers
15 views

Condition in Flows

Lookup relation between standered object and custom object . Campaign Lead(Custom object) Field 1= sum of all lead (filed 1 ) ...
0
votes
0answers
16 views

Restrict User Team Name similar to Manager Team Name

I have created "Team Name" as multi-picklist on User object in Salesforce. I have requirement to restrict a user's "Team Name" field should have only 1 value and that value should match with his ...
0
votes
1answer
57 views

Creating new Records in FLOW

So I'm new to using flow and i'm doing something wrong. Hoping someone could help to get me on the correct path. I have a very simply flow that I'm trying to do that involves pulling a record ...
1
vote
1answer
30 views

How to debug the flow initiated on record insert/update?

I know there are several questions on how to debug the flow, but this is based on the recent update flow has received. I am using record insert-update type of flow and making use of $Record, now I ...
0
votes
2answers
54 views

Validate Input for LWC in Flow Builder

tl;dr - How does one get input validation to work for an LWC in the flow builder? Background I have created an LWC for text input that will alert the user when they are approaching or have exceeded ...
1
vote
1answer
13 views

Move from process builder scheduled actions to Lightning Flows

We would like to move some of our PBs with scheduled actions to Lightning Flow. These scheduled actions are executed based on a date custom field, for example X days after DeliveryDate (custom date ...
0
votes
1answer
42 views

How to use the force:navigateToURL from flow

I have a simple flow which i start with a button this has a screen component with a lightning component. I expect on clicking the button to be navigated to a record. To keep it simple I created a ...
0
votes
0answers
10 views

Not able to use LWC on VF page which is used for login flow using VF Pages

I have a login flow which is calling a VF page. I am calling a Lightning app from vf page which calls LWC. When i preview the VF page its working fine. But when i use it in a flow its not working. Is ...
0
votes
2answers
71 views

How to redirect to URL from flow with invocable apex

I have a flow from which I want to call a visualforcepage with some parameteres in the URL. The flow calls the invocable apex and the pagereference method but does not redirect to the url but does ...
0
votes
1answer
18 views

Making a flow label or something unique - how to identify one flow from another

We have historically used Process Builder and we use scheduled actions. Imagine every time someone buys something online we create a flow to send them an email in 48 hours to say thanks. Literally ...
0
votes
1answer
18 views

Salesforce Flow (lightning Flow) getting to a flow value programatically

I'm building out an autolaunched flow. I want to add logic to 'track' the execution - not too difficult except that I would like to log in my tracking information such as the Flow Label or API name. ...
0
votes
1answer
56 views

“Your flow finished” screen: can i have it removed?

I am using this app as an easy way to add an unsubscribe link to emails send from SFDC. Everything works great but at the end of the unsubscribe process (which is a flow) I get the annoying screen ...
0
votes
0answers
19 views

Account Billing Address fields are coming Null in Flow

I am trying to populate Billing address from Person Account to one custom text fields on Event. Same flow is working fine when populating Billing address and Shipping Address from business account on ...
0
votes
0answers
20 views

Swagger YAML file causing callout issue

In my swagger JSON file i have the below body. When i import this JSON to External service, i am unable to see TestQuoteRequest object. { "in": "body", "name": "TestQuote", "...
0
votes
0answers
12 views

Flow Navigation issue

In one of my requirements, I am using Lightning flow with aura components. There are 2-3 screen's. I have used navigate to sobject in the last screen which is triggered on click of 'Done' button ...
0
votes
0answers
17 views

bulkify a scheduled flow

Currently i am working on a scheduled flow to update the opportunity record whenever a phone no field is there on the associated account record .the scheduled flow is taking the data on campaign ...
0
votes
2answers
43 views

Salesforce flows picklist with blank option and mandatory and validation

I need to make a picklist mandatory in flows. Please help me to know what i might be doing wrong. I have a picklist element in flow and on-screen load the picklist field was getting defaulted to the ...
1
vote
0answers
32 views

Cannot Set @api Property For LWC Component In Lightning Flow

I have a LWC component, that has a very simple public property: @api recordId; And I have a LWC config, that exposes this public property to the Flow Builder <targets> <target>...

1
2 3 4 5
30