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
8 views

get expiring assets, match with account and lit the details in a partner account using Flow

I'm trying to build data for a multi line field on the account object. The relationship is that a customer can be via a third party account (partner account) so we have two accounts in SF showing a ...
0
votes
0answers
9 views

How to access an Org Level Standard Setting in a Flow, and save it as a variable

I'm interested in accessing an Org Level Standard setting (in my case the "Enable Lightning runtime for flows" from Process Automation Settings) in a flow, because depending on its value I ...
0
votes
0answers
11 views

Command button should run a screen flow in modal dialog

Below I have a very simple code for example, if I click on a button on visual force page it appears a new page with the flow. But I want that when I click on the button the modal dialog starts and ...
0
votes
1answer
8 views

Is it possible to set Screen Flow component visibility based on the UI the user is in currently (Lightning / Classic)?

I have some elements in a screen flow that should only show in Classic UI, and others that should only show in Lightning UI. I haven't found a way to choose which to show based on the current UI the ...
0
votes
1answer
14 views

Flow update record multiple times

I have a flow which update one record multiple times and I run into a soql query problem. I have two objects A and B, the flow should copy the value of object A to B but only if the field is not null, ...
0
votes
0answers
12 views

flag that a Flow has updated a field or case comment

Is there a way to flag for a process builder process that a field or case comment was created by a Flow? My use case is that I have a process that monitor cases idle time, if it exceed 7 days it ...
0
votes
0answers
30 views

Cannot find module 'lightning/flowSupport' from 'force-app/main/default/lwc/lwcomponent/__test__/lwcomponent.test.js'

Getting below error on import {FlowNavigationNextEvent} from 'lightning/flowSupport'; in jest test file. Cannot find module 'lightning/flowSupport' from 'force-app/main/default/lwc/lwcomponent/test/...
0
votes
0answers
22 views

Flow picklist values always required in FSL mobile app

I have a flow which has a component that is a picklist. I have made it as not required. This is an Field Service Mobile Flow and not the regular flow - https://help.salesforce.com/articleView?id=sf....
0
votes
1answer
33 views

Salesforce flow error - This error occurred when the flow tried to look up records [closed]

I have a flow which was deployed to a full sandbox from a dev sandbox. The flow was tested working in the dev sandbox as well as a partial sandbox. For some reason after deploying it to the full ...
0
votes
0answers
29 views

Undefined values when Passing Ids from Salesforce Flows to LWC component

I am launching a LWC component from a Screenflow. When I first launch the screenflow by clearing cache , the flow is not passing the ids correctly. When I reload the page the flow is passing the ids ...
0
votes
1answer
25 views

Pass values back to flow

I am brand new to Apex, this is my first attempt - I adapted some code from here which is working, but ideally, I'd like to pass the urlencoded variable back to the flow, however, I can't work out how ...
7
votes
2answers
135 views

Expose Package code via Flow instead of global methods

I am thinking about an alternative way to expose Manage Package code to the outside world. Not using the problematic global class scope. And I thought why not package a Flow that calls the code and ...
0
votes
0answers
22 views

An Apex error occurred: FSL.Exceptions.GeneralException: failed to get AB slots

I am getting this flow error,when I try to display the appointments of the available time slots in my flow. the type of my flow is : Embedded Appointment Management Flow I followed the following steps ...
0
votes
1answer
18 views

$A.getCallback() [Action failed: c:COMP_PsFlow$controller$doInit [Cannot read property '1' of null]] Failing descriptor:

I'm getting the below error when I'm trying to run the flow. Could someone please help me? This page has an error. You might just need to refresh it. Error in $A.getCallback() [Action failed: c:...
0
votes
2answers
43 views

Apex flow create record

I have a problem. If we create a record in salesforce flow (for example 'quote' object) and if we choose the option 'use all values from a record' than we have a variable that will contain that ...
0
votes
0answers
40 views

Generate PDF with Apex [closed]

I need to generate a pdf of a consultation documentation and I want to use a flow to ask for the disscused topis (some checkboxes). After selection of the topics a documentation should be generated ...
0
votes
1answer
43 views

System.JSONException: Type cannot be serialized (Can't Serialize getSlots results into a JSON string)

Can't Serialize getSlots results into a JSON string and i get this error 'System.JSONException: Type cannot be serialized' ! please help ! This is my code : public class BookingServiceFslFlow { @...
3
votes
0answers
59 views

How to Test platform Event Trigger Flow

I have a flow which subscribes to a platform Event. This flow consumes the event and inserts a record. My test class is: Test.startTest(); Database.SaveResult result = EventBus.publish(...
0
votes
1answer
19 views

After last item won't execute in loop salesforce flow

Flow won't move forward the 'After last item'
0
votes
1answer
30 views

Picklist Choice Set - Fields does not appear for New Object

I created a new Object and new fields. I am building a Screen flow. I am trying to create a Picklist Choice Set type resource. https://help.salesforce.com/articleView?id=sf....
0
votes
0answers
13 views

How to show component based on picklist value in screen flow

as title mentions I am trying to display a component only when a certain picklist value is selected. My understanding is that you need to set the resource to the picklist choice set, and then further ...
0
votes
0answers
19 views

NavigateToUrl or NavigateToSobject after autolaunched flow finished execution

I have an issue I'm stuck for a while. I've tried below options, but none of them worked for what I'm trying to achieve. I have a list button with vf page and apex which passes list of Ids to ...
0
votes
1answer
27 views

Salesforce flow: prior values in after update

I would like to check if the field value is Chnaged or not? like we do in Apex Triggers. I am able to see isChanged function in 'Before Update/Insert' scenario, but as formula fields are not available ...
4
votes
2answers
70 views

Why are Flows that “Run as System” still impacted by (external) Sharing OWDs?

I have a flow that is set "Runs as System". As per the documentation, this means that the flow: has permission to access and modify all data However, this doesn't appear to be the case. ...
0
votes
0answers
18 views

Is it possible to create a custom error message for an autolaunch flow when it fails?

Heyyo I'm using a flow to update a text field on the opportunity. It loops through the added products on the opportunity product line and then updates the text field. I also have a validation rule on ...
2
votes
1answer
30 views

Pre-populate rich text field in the case creation page

Here is what I am trying to do: Pre-populate a custom field(rich text) on cases in the creation page The total characters is about 5000 characters with formatting (bolding, underlining) The size of ...
1
vote
1answer
19 views

Logs for flow execution are not detailed

I am building a basic public page form on the salesforce communities, creating a 'Property lead' record in our org. By giving edit access to 'Guest User' I can create the records with no problems. I ...
0
votes
1answer
27 views

Screen Flow Empty/Null values

I have screen flow with two number fields and a display text field. When user enters numbers then I wanted to do a some math and display the value using display text field. I created a formula using ...
4
votes
1answer
35 views

Display a flow inside another flow keeping the original flow in the background?

I have a flow running. When a person clicks a button I want to open a modal and run a separate flow keeping the other flow in the background. So when the user closes the modal they can continue with ...
1
vote
1answer
28 views

No applicable approval process was found (Works in Debug mode)

Spent the whole day trying to find out what is the problem but didn't succeed. Setup: An org with an Experience Cloud i.e. Community website. The website has a custom registration process which is ...
3
votes
0answers
25 views

Flow: “Is Null” does not work for compound fields?

I have a record-triggered Flow on Contact where I want to check if the MailingAddress is null. However, the decision element doesn't work if I use a criterion of Record.MailingAddress Is Null FALSE. ...
1
vote
0answers
13 views

Issue with Progress Indicator Stages in Flow

I have developed a simple flow to test the Stages in Progress Indicator. The issue is that, when I move to second or later stages, the Stage 1 never get marked as completed. In the screenshot below, ...
0
votes
1answer
16 views

Allow InActive User selection via Flow Screen Input field - Lookup

Can we display a field in Flow Screen to allow InActive user's search/selection along with Active user's ? With existing screen input field "LookUp", it only allows searching/selection of ...
0
votes
1answer
20 views

On Click of previous button in the screen flow, using custom Lightning Web Components can Persist Data in the local browser storage

We have a requirement with screenflow, I would to know whether it is possible or not? We have screen flow in the salesforce with 5 screens(A,B,C,D,E). In the 5 screens we have used the LWC component ...
0
votes
1answer
23 views

How to run a scheduled flow on business days?

I am trying to run a flow that changes a case owner if no one has taken the case from a queue after 24 hours. However, I only want this run on business days and non-holidays. I am trying a scheduled-...
0
votes
1answer
17 views

Adding an FSL flow based quick Action on FSL Mobile App

I have quick action on Work Order Object. This quick action is a type of Field Service Mobile Flow - https://help.salesforce.com/articleView?id=sf.mfs_flow_build.htm&type=5 I have added it to the ...
3
votes
0answers
30 views

Why Apexaction flow setoutput variable not showing from apex class

I Want to set output values in flow from apex action. Below mentioned im getting oppId as input values from apex class. public class flowinputs{ @invocableVariable public String oppId; ...
-1
votes
1answer
18 views

How do I get records when Id's are in a text field of an object. These Id's are Ids of duplicate record and need to be eliminated using a flow

I am trying to extract IDs from a text field and trying to get records of the ID that are in the text field. Basically, the text field stores the IDs of duplicate records and only one of the records ...
1
vote
1answer
37 views

iframe on aura component not displaying for users other than me

I have a flow that is invoked by a button on the opportunity. It's an on screen flow that will display a dropdown with two options. One of those options, if chosen, will display an iframe (calendly) ...
0
votes
1answer
30 views

How to redirect to the newly created record in record triggered flow

I'm using record triggered flow to create record. After the creation, I want the user to be redirected to the newly created record. Is there any way to achieve this.
0
votes
0answers
25 views

Unable to see the changes in flow-meta.xml file

In flow screen, As shown in the below screenshot I had a requirement to uncheck the "Use values from when the user last visited this screen" and checked the "Refresh inputs to ...
0
votes
1answer
27 views

flow creating duplicate cases

im working on a flow that creates a case for a picklist field on the Account object. the picklist has over 10 values, and the flow should create a case for every value that is picked. the only issue ...
0
votes
0answers
29 views

Platform Event and Record Triggered Flows Run in System Mode? [duplicate]

Do platform event flow and record triggered flow run in system mode? I do not find this information in Salesforce documentation. https://help.salesforce.com/articleView?id=sf.flow_distribute_context....
1
vote
0answers
28 views

Multiple Record Updates are only sending one Outbound Message

i am currently trying to send multiple Files from Salesforce to SAP. We are using Informatica Cloud as a Middleware and the Problem is, that i need to send each File on its own. We have a custom Field ...
0
votes
1answer
38 views

Scheduled Flow running apex class - callout error > System.CalloutException: You have uncommitted work pending [duplicate]

I am attempting to schedule a flow that runs every night and passes the dates of the previous two days into these variables, then calls the apex class to run. The variables are based on the time when ...
0
votes
1answer
24 views

Pass variable created in a flow to a VisualForce Page

I have a flow that is run when internal users click a button. This button will set a variable in the flow for: first name, last name, and decoded email (for url). I created a VF page that is used to ...
0
votes
1answer
20 views

Get available record types for user in Flow

I want to replicate the "New" action on Opportunity object in a custom action. On Opportunity object i have several record types. Is it possible via a flow to get the available for the user ...
0
votes
1answer
40 views

My apex doesn't work when I pass in a parameter in LWC and the parameter is an input from the flow

and try to use LWC in a flow. I want to upload a csv file in the flow first. And I then put a Lightning Web App into the next screen. Then inside the LWC, I want to pass the file Id of the uploaded ...
1
vote
1answer
75 views

Variable does not exist: Interview - when calling Flow.Interview

I am creating a method that will call multiple flows. However I am receiving the following error - Variable does not exist: Interview. I have tried using both static and non static to no avail. Below ...
0
votes
1answer
24 views

Platform Event - Subscribe from a Flow and pass to aura

Is there a mechanism to subscribe to platform events from a flow 'and' pass attributes to a lightning component - when a new event is delivered (basically synchronously). Already have tried the normal ...

1
2 3 4 5
39