Questions tagged [visual-flows]

Commonly referred as visual workflows.

0
votes
0answers
35 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
7 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
66 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
1answer
155 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
77 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
16 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
33 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
0answers
12 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
532 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
180 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
55 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
32 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.
0
votes
1answer
56 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 ...
0
votes
1answer
49 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 ...
0
votes
1answer
240 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 ...
0
votes
0answers
82 views

How to map name value pair in custom fields to object field name and set the value as field value?

I have a custom object X that stores name value pairs. I need to populate a custom object Y which has field names same as the name part of the value. Through visual flow I need to query object X to ...
0
votes
1answer
155 views

Packaging login flow OR connecting a login flow to profile programmatically in Post Installation Script

I have created a Login flow in my Dev org. When I packaged and deployed it on another org I noticed that Flow is created but there is nothing under Login Flow. The question is that how can we package ...
0
votes
0answers
31 views

Can we send an automated notification to customer Who sends an email on closed case which is more than 30 day

A case is closed and closed more than 30 days ( created a field to calculate - Today - case closed date ) and If Customer sends an email (Email message - incoming true) then send auto notification to ...
0
votes
1answer
47 views

Using Python API to Update Assets fails with CANNOT_EXECUTE_FLOW_TRIGGER

We have an asset object that has a child asset attached to it. We have a Process Flow that updates the AccountID and State of the child asset if the parent asset is changed (so the parent and child ...
0
votes
1answer
103 views

Config Flow to Create a Record A Using Record B Data and Reevaluate B Records to Associate Record A to Other B Records and Avoid Duplicating Record A

I have configured a complex flow for a data sync using an ingest file and mostly fast elements to update and create records. For context, I am working with a child object, contact role, to drive ...
0
votes
0answers
353 views

Flow - how to empty an sObject collection

I created a flow where I have to empty an sObject collection and I done this by assigning it to an empty sObject collection variable. When I check if it works using the decision item it shows that the ...
0
votes
0answers
98 views

Visual Flow and Dataloader

I am looking to implement a flow that analyzes incoming data file to perform the following actions: create new related records for data file records (i.e. create a contact for an opportunity record); ...
0
votes
1answer
892 views

Flow in VF page - set return url to id of Flow variable

I have a simple Visual Flow embedded in a simple Visualforce page that creates a record in a custom object. When the flow ends, I would like to redirect to the detail page of the record that was just ...
0
votes
1answer
37 views

How do I attribute a Campaign to a Lead using visual workflow?

I have a publicly accessible flow and it has been working great. As an adjustment, we would like to hard code a campaign for each lead created by this flow. However, updating the campaign field from a ...
0
votes
1answer
70 views

Visual Flow Approval

From my visual flow, I need to approve a record that's in the pending stage of an approval process. I've been able to get as far as creating a flow that gets the pending ProcessInstance of the record ...
0
votes
1answer
65 views

Using loop in the Visual flow

Actually I am new to visual flow and got strike up in one of the requirement .Could you please help in this ..it will be great helpfull .. Can we show more than one record in the single screen by ...
0
votes
1answer
51 views

Search and Selection using Visualflows

The user would be presented with a screen into which they insert part of an Account Name. The flow would look up the Account Name and present users with all accounts containing the search string. ...
0
votes
3answers
229 views

VisualFlow dynamic choice not displaying any record after deployment to production

I have created a VisuaFlow where the user starts off from a screen where they have a picklist to select all created Pricebooks. When created and tested in Sandbox environment, the picklist correctly ...
0
votes
2answers
183 views

Is it possible to Show / Hide custom fields based on picklist values using visual flows?

i have one scenario which is show / Hide Fields in page layout based on picklist values (Note : i already developed one vf page to achieve this but it's not allow me to show in edit mode of record) ...
0
votes
1answer
1k views

How can I send an email via Visual Flow that includes a record link?

I am fairly new to Flows and am working through a flow that sends an auto-notification email from a task, but rather than use an existing email alert to send the email, I am trying to build it within ...
-1
votes
2answers
840 views

Flow exception, but flow is not visible in setup

I encounter Flow error when trying to Insert record in test class: System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_EXECUTE_FLOW_TRIGGER, The record couldn’t be ...