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
1answer
23 views

flow deployment error about api version

after launching this command from the visual studio code terminal : sfdx force:source:deploy --sourcepath .\force-app\main\default\ --apiversion 47.0 I receive the following errors: force-app\main\...
0
votes
0answers
9 views

Flow update records not updating records

I have a simple flow to assign owners for a Account. the flow is filtering the records using a custom field GP_Salesperson_id__c on the Account object = custom field on the user GPSalesUser__c and ...
0
votes
0answers
21 views

Run a Autolaunched Flow created with the new (winter '20) schedule option

I have a flow as described in the title, created with this feature. If I click on the 'Run' button i receive the following error: The flow failed to start because the provided values were not valid: ...
1
vote
0answers
9 views

Text Template rich text vertical spacing

I have some existing flows created in the old Cloud Flow Designer where I used Text Templates and the rich text editor to show data on the screen. When the new Flow Builder was released, existing ...
1
vote
0answers
18 views

Getting a flow to run as if it were batch api of 1

Here's the use case: An external system dumps multiple new Benefit records into our system at once. A process builder flow identifies it is the right kind of Benefit that needs a Code, so it ...
0
votes
1answer
26 views

Run a Autolaunched Flow with Trigger type Scheduled

I have a flow as described in the title. If I click on the 'Run' button i receive the following error: The flow failed to start because the provided values were not valid: Scheduled Flow could only ...
0
votes
0answers
17 views

Salesforce Flow Component - Upload File - ContentDocumentID

We're using FSL mobile flow to take pictures and attach them to the WorkOrder.It works just fine. I want to use the output parameter of the upload file component to retreive the pictures uploaded and ...
0
votes
0answers
14 views

Upload JSON from Flows to Files or Static Resource [closed]

I think that I'm missing something obvious here but googling didn't help me. I have a case where i should ask the user for a JSON and a string that they need to upload/copy-paste. This will be done ...
0
votes
0answers
11 views

Inconsistent behavior of help text in flow screen

I have created a screen flow and added a screen with two input. One is text input and other is radio button. I have also added text variable {!HelpText} whose value is blank. I have added variable ...
1
vote
1answer
24 views

Component Visibility in Flow's Screen with Number data type

I'm trying to set up a filter to manage a component visibility in a flow's screen component. In particular, I want the field to be available to the user for the insert of data only when a particular ...
0
votes
0answers
16 views

selecting multiple checkbox and passing the id to the flow throgh a button

I have created a flow that takes contact Id and get the complete details of this id and then it send a mail and creates a task. Now my requirement is when I select multiple contacts, I have to call ...
1
vote
0answers
17 views

Flow failing when waiting for a platform event

I have designed an auto-launched flow that hits a waiting element and waits until a platform event is published to resume its execution. At the moment it only works if the user has the 'modify all ...
2
votes
1answer
14 views

Is it possible to retrieve Inactive Process builder versions?

We use process builder heavily and sometimes I need to go and see what is there in the Inactive ones. I prefer downloading all flows(including Inactive) and searching in vs code. I tried the below ...
0
votes
0answers
29 views

Issue with LWC Flow Navigation

I have an LWC embedded in a flow that has a custom footer. Whenever to click on the custom buttons to navigate the next screen, I get the following error: Uncaught Action failed: flowruntime:...
0
votes
0answers
12 views

URL in Flow Screen open in same window but new Console Tab

I am creating a Flow that will only be shown to Users within a Lightning Component on a Lightning Page. It cycles through a lot of loops and eventually displays a list of records with some other ...
0
votes
0answers
22 views

Need a flow to output number of unique values on a related list

I have a custom object called "Issue" with a related list to another custom object called "Impacted Contacts." There's a join record called "Issue Impacted Contacts." I need to make a flow that will ...
0
votes
0answers
12 views

Using Pop-ups in Flows

I've seen alot of answers on this subject but nothing I can use. I've created a flow that grabs the next available phone number from a library of numbers housed in an separate object in Salesforce ...
1
vote
0answers
27 views

class java.lang.String cannot be cast to class moduleapi.interaction.FlowPicklistValue

I am using a Screen Flow to handle a custom Membership form. I have found an issue where if a field marked as "required" is not filled in, and the user hits "Next" on the screen flow it results in an ...
0
votes
0answers
9 views

Custom Flow Navigation - Retaining previously entered data

I am trying to implement a custom navigation for my flow. I have three screens in the flow and each screen calls a separate Lightning component. Now I am using the navigateFlow("NEXT") in each ...
0
votes
0answers
9 views

Update records with flow from List view

I am using a flow to update records from a list view (following this guide: https://bigassforce.com/flow-list-buttons). Now I need to update the selected records and set a new status for them. But ...
0
votes
1answer
41 views

Auto Launched flow running in User mode

We have an auto launched flow which whenever a work order is rejected by a tech, it auto-dispatches work order to another available tech. We're calling the auto launched flow through a process builder ...
1
vote
2answers
57 views

Attempting to pass current record's ID from trigger to Class

Code novice here! I am trying to pass the OpportunityContactRole's Opportunity ID from a trigger to a class to a Flow. I would happily use a Process Builder to trigger the Flow but OCR's are yet to ...
0
votes
0answers
10 views

Open a record in sub tab within console app using Flow

I have lightning flow in which I have link which contains record url. When click on record url it is opening to the new tab. But I want open it in sub tab of console application.
0
votes
0answers
15 views

Apex defined variables not recognized by Flow

I am trying to implement a flow to display the weather at a particular Account. I have imported Swagger JSON (See below) for the OpenWeather API https://openweathermap.org/current However when I try ...
0
votes
1answer
30 views

Flow Builder OR logic on required fields in same screen?

I have a simple flow screen where I want a user to EITHER select a contact from a radio button record choice set, OR create a new contact by filling in a name, email, and phone screen component. I ...
0
votes
1answer
20 views

Confusion on Lightning runtime requirements for component visibility conditions on screen flows

From how I understand the process, in order to use component visibility conditions on screen components, I need to run my flow using Lightning runtime. So currently my Process Automation Settings are ...
3
votes
0answers
29 views

Is it possible to activate specific version of process builder(or flow) through API?

For the situation shown in the above picture, is it possible to activate a specific version of process builder(or flow) through API?
1
vote
1answer
30 views

Process Builder throwing an error for null lookup value

I have written the following formula in my process builder [Lead].Source_Opportunity__c != null && (ISBLANK(TEXT([Lead].Source_Opportunity__r.Source_details__c)) && NOT(ISBLANK(TEXT(...
0
votes
1answer
18 views

Using a button to trigger a screenflow, which is followed by an Apex method

I'm in a situation where I have a Screen flow that is called when an action button is clicked on an opportunity, some data is input, and then that data is pulled into an Apex class. I understand ...
0
votes
0answers
11 views

Adding a custom action on ListView in Lightning Community

Problem I have a Leads listview component on Lightning community page. I need to display a button/action on the ListView, that would run a flow, I couldn't see the flow type action button in the List ...
0
votes
0answers
13 views

Force flow failure email

Does anyone know how to force a flow to fail and generate the detailed interview email? I used to create an email object with no recipients to get that. I really liked to use it while developing/...
0
votes
0answers
19 views

Link Child Records To Parent Record After Parent Record Has Been Created

I have a custom object called Pronto__c which is a parent of OpportunityLineItemSchedule. When a Pronto record is created (data is being passed from an external data source), it has the Id of a child ...
2
votes
1answer
24 views

Scheduled Flow Bulkification

There is not much documentation yet surrounding the release of Scheduled Flows (Winter 20). This article (https://releasenotes.docs.salesforce.com/en-us/winter20/release-notes/...
2
votes
1answer
66 views

How do I check if a record exists in Flow Builder?

I have an autolaunched flow to create a record with particular field values, unless a record with the same values already exists. This answer offers a method for interactive flows. This answer says ...
0
votes
1answer
34 views

How to specify email address in Flow using email alert/template

I want to use an email template when I send an email via a flow. I am sending the email to users who are following a custom object's record. The email is successfully sending when I use the flow's ...
0
votes
1answer
27 views

Missing “Flow Email Alert” element" in Flow

I don't see the "Flow Email Alert" element as a choice when creating a Flow. Do I need to do something to make it available?
0
votes
0answers
61 views

Component in flow error - The delimiter of “StageVariable” stage is missing

I have basically followed the below guide from salesforce. It works fine apart from one thing. if the user hits the previous button in my flow they are greeted with the following error message! (The ...
0
votes
2answers
17 views

Trigger a Flow from Quick Action SAVE

I need a Flow triggered when a new 'Placement__c' record is created using a Quick Action. We use Person Accounts and a custom object called 'Placements'. It's a one to many relationships, so one ...
0
votes
1answer
27 views

How to display/edit records using the flow builder?

I need to show a list of records that the users can edit and save. For example: The flow should show a list of accounts, for example: Name Surname Title Email Marco White Mr. marco@...
4
votes
0answers
104 views

Styling of flows used in communities

I am trying to understand whether when a theme is applied to a community (see e.g. Standard Design Tokens for Communities), any flows presented in that community can be made to respect the theme. ...
0
votes
0answers
35 views

Pass URL Parameter to Flow Component in Lighting Community Page

I have a Flow Component on my Community Page that I'd like to pass a URL parameter to. I've read different resources on how to get URL parameters but none of them seem to work - I tried just creating ...
0
votes
1answer
18 views

Add line break in a rich content field via Flow

In a flow I populate a text variable with data that I want to put in a rich content field on a record. That part is working. I want to add line breaks between the items that I am adding to the rich ...
1
vote
0answers
32 views

ISNEW and ISBLANK not working together in Process Builder [duplicate]

I am using PB to check if the Case record is new, and if the Account field is Not blank and a Case.Account.picklist__c has a Certain value then update priority. SO, my evaluation criteria are - AND ...
0
votes
1answer
19 views

Flow Builder Get Records Filter

I need to get all of tomorrow's records in Flow Builder but I cannot make {!$Flow.CurrentDate} +1 work as a condition. Error message = We don't recognize that value. Make sure it's a valid ...
0
votes
0answers
33 views

How to fix exception-field integrity exception: Type, Quantity, unknown

I am getting the error ( field integrity exception: Type, Quantity, unknown ) while creating an opportunity line item schedule in a flow in production. I am unable to reproduce this issue in sandbox. ...
0
votes
0answers
32 views

Flow Using more than Object

Trying to build a flow that used GET RECORD to pull a filtered list of Opportunities, and use the AccountIds from these Opportunities to update a list of Accounts. The only way I have achieved that ...
2
votes
1answer
28 views

Disjunctions not supported on a flow (Bulk?)

Has anyone encountered a "Disjunctions not supported" while automating with a flow getting values from a custom metadata? Do you have any recommendations? From the reading that I did, "Disjunctions ...
3
votes
1answer
41 views

What data types are supported for @InvocableVariable?

The documentation states the following https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_InvocableVariable.htm The data type of the invocable ...
0
votes
1answer
28 views

Format Phone Number in Auto launch Flow

I need the flow to load a Phone number record into a custom setting without any dashes or parentheses. Ex. (440)-111-2222 into 4401112222. I am trying to use Regex to do this and not having any luck. ...
1
vote
0answers
65 views

Salesforce deploy error flow: The processMetadataValues entry for TriggerType has an invalid value

I am trying to deploy to a scratch org, but it fails on 4 flows with the following error: The processMetadataValues entry for TriggerType has an invalid value. The current method of deploying is ...