46 questions
0
votes
0
answers
170
views
Salesforce Flow HTTP Callout Deployment Error: "We can't find an action with the name and action type that you specified"
I'm trying to deploy a Flow from a lower environment to a higher environment (e.g. sandbox to UAT) in Salesforce using Metadata API or a deployment tool. The Flow includes an HTTP Callout action (...
-1
votes
1
answer
579
views
How to Access Nested Wrapper Class in Flow Apex Action?
I'm working on an Apex Invocable Method that returns a wrapper class with nested wrapper objects. However, in Flow, I'm unable to access the inner wrapper fields properly.
Here’s a simplified version ...
0
votes
0
answers
125
views
"Your flow is Finished" how to remove this?
I have a flow called from custom button that updates records on a different object when the user clicks the button. Flow and button work perfectly, except at the end of the flow - "Your flow has ...
0
votes
1
answer
53
views
Salesforce flow How to start a collection at number 10?
I am using a flow in salesforce to return cases, now I want to show the cases in a einstein bot, it has a limitazation of 10 records at the momento to display by the screen, so I was thinking about ...
0
votes
0
answers
561
views
Salesforce - Email template Opportunity Merge fields not showing in real time but works in 'Send test and Verify Merge Fields'
I have created a flow in Salesforce which sends an email when a field in the Opportunity object is updated. The email template is as below. This email template was created in classic and is of form ...
1
vote
1
answer
2k
views
A flow looping through 2000 records throws "APEX CPU time limit exceeded" error. Any fixes in flow?
I have a requirement to create a flow to walk through the campaign members of a campaign, and attach an activity at each member's contact record to indicate that the campaign email was sent.
The logic ...
0
votes
2
answers
279
views
Database.setSavepoint(), Database.rollback(), and Database.releaseSavepoint() not working in Flow Action
I have built an @InvocableMethod to be used as an action in a Salesforce Flow. It's basic functionality is to look up some records, saves the result in a List of sObject, then make a call out and ...
0
votes
1
answer
212
views
Generating barcode image in salesforce apex email with a generated sting in flows
I have a string that is generated in the flows, for example, the generated sting is '998798474610237811'. I would like to transfer it to a barcode with ext39b method and send it through a email with ...
0
votes
2
answers
289
views
Incorrect Number of parameters for Function IF(), Expected 3, received 4
Error Received in Flow when creating a formula resource
The formula expression is invalid: Incorrect number of parameters for function 'IF()'. Expected 3, received 4
IF({!$Record....
4
votes
2
answers
4k
views
HTTP Callout restriction doesn't allow Record-Triggered Flow to run on updates
I'm running into a strange issue with my Record-Triggered Flow in Salesforce.
Basically, whenever a record is created or updated in Salesforce, we want to send a message to an external API. The ...
1
vote
1
answer
407
views
Salesforce Flow: Changing Stage field from a specific date (e.g. after 6 months)
I'm new to flow and trying to create an automation that will update the Opportunity Stage from "Prospecting" (any Stage but Closed Won) to "Closed Lost" Stage if more than 6 ...
0
votes
1
answer
280
views
Field edit issue in a Salesforce screen flow exposed through a Force.com site
I am trying to let people edit a single Asset field through a flow which is exposed through a Force.com site.
Basically, the person receives a link to the site and should be able to go click through ...
0
votes
1
answer
235
views
Is there a way to create a link to the latest version of a given flow in Salesforce?
In the salesforce documentation for my job, we have some links to flows that are being described. This lets someone reading the documentation easily access the flow to view or edit it. However, the ...
0
votes
1
answer
1k
views
Validate Input for Text field in Screen flow is not working
I am trying to Validate input of text field conditionally. But its not working. When i debug the flow it's not validating the input.
I've tried ISBLANK(), ISNULL() also but no use.
1
vote
1
answer
986
views
Query Permission Sets for "Manage Flow" new summer 23 release item
Is it possible to run a query to see which permission sets the Manage Flows = True? With the new summer 23 release there is an option to be more pragmatic with the Flow Permissions in Permission Sets ...
0
votes
1
answer
1k
views
Is there a good way in Salesforce to use an Apex class to split a full name string into first name, middle name(s), and last name?
I'm trying to make some of the automation at my org more accurate, creating Contact records when a custom Full Name field on an Opportunity record is added for the first time, but I'm having ...
0
votes
1
answer
988
views
LWC FlowAttributeChangeEvent issue
This is my variable
textVal==>{"Basin":["Atlantic"],"Storm Name":["ALEX","BONNIE","COLIN","DANIELLE","EARL","...
1
vote
2
answers
1k
views
Flow.CurrentDate returns System date or User date
Flow.CurrentDate returns whether System date or User date?
Is it similar to System.today()?
I am Expecting Flow.CurrentDate returns User date, but i am worried whether it will return user date or ...
0
votes
2
answers
847
views
Updating Flow Status From Active to Inactive using Tooling API
Is it possible to update flow status from Active to Inactive using tooling API
Used OTP tooling api to update flow
with below body
{“Metadat”: { “Status”: “Inactive”}}
0
votes
1
answer
617
views
Get current opportunity id in salesforce screen flow
I am showing a flow from the quick action from opportunity screen. I want to get the opportunity id in the flow. I tried GetRecord element but the condition only returns the top most id. I want to get ...
0
votes
0
answers
124
views
Flow Issue Populate Date/Time field to 12AM
I want to update date/time field to 12 AM of a corresponding Date/Time field?
Like if startTime = 26/03/2022 3:40 AM or 26/03/2022 3:40 PM
the newField value = 26/03/2022 12:00 AM
I am stuck. Can any ...
0
votes
1
answer
267
views
Salesforce flow Datatable multiple resource
In my flow I am getting accounts filtered with Billing city with get records. I have two get records elements to filter data on two different cities. I want to show selected rows from both the tables ...
0
votes
1
answer
234
views
How to Create Flows for these conditions?
Flow Task
Create below three User Lookup fields Account-
Assigned Attorney
Assigned Paralegal
Managing Attorney
When an event is created, automatically add each of the users in these specific “fields” ...
1
vote
1
answer
2k
views
Salesforce flow json to collection variable
I am receiving data from an external api in apex class. I am using a wrapper class to pass this data to salesforce screen flow. In debug the flow is showing that it receives data from the apex class. ...
0
votes
1
answer
2k
views
How to use Salesforce Field Service Mobile Flow in app AND lightning web
I am designing a Field Service Mobile Flow for a Salesforce instance (release Winter '23 Patch 17.7) using the Field Service Lightning package to manage technicians with service appointments in the ...
0
votes
0
answers
3k
views
Salesforce Flow running fine in debug, but when executing in sandbox nothing is happening
Apologies in advance for my lack in SF verbiage I am currently trying to learn!
I currently have 2 different asset record types, Network equipment and Sim Card. In the Networking equipment record I ...
0
votes
1
answer
938
views
Set AccountID and ContactID on autoconvert lead class (Salesforce)
I am calling on the Apex Class below in a Salesforce flow and want to autoconvert the lead into an existing account and contact but I am stuck with setting the AccountID and ContactID from values from ...
0
votes
1
answer
527
views
Screen Flow issue
How can i control help text message that are being showing on my screen flow?
i.e. I have added help text on my screen flow header on my one dev org and it is showing on new popup / modal when i click ...
0
votes
1
answer
523
views
How to Query expired case milestone?
I am trying to query all expired milestones so that I can use them in my flow. My requirement is to send a custom notification to the case owner once a milestone expires. Thank you
0
votes
1
answer
2k
views
Site guest user cannot run Get Record element
In my site the guest users have access to the flow and they able to run the flow and even create records. When the flow try to find the created record the next error accrue:
Because Get_Record is ...
0
votes
1
answer
3k
views
Salesforce Screen flow search and display record information
I'm working on a screen flow. The idea is to have a lookup component the user can search a contact. Then I would like to display the information from the Contact (Account Name, Contact Name, Number ...
0
votes
0
answers
720
views
Screen Flow Error on an External Web Application
I am embedding a Salesforce screen flow in my web application using Lighting Out feature. It worked for very basic screen flow with 2 screens but when I used a complex screen flow it is showing me ...
0
votes
1
answer
4k
views
Test Class for salesforce Invocable method
Recently, one of our customer has updated their salesforce which caused me to have to remake apex code that we had for an automated process. I was able to rebuild all of the code but the problem I am ...
0
votes
1
answer
957
views
How to deactivate the flow using workbench API
How to deactivate/delete flow through WorkBench API or Apex? I tried all possible ways. could anyone help out here
0
votes
1
answer
856
views
Clear a field when state changes - Salesforce
I want to make it so that when you fill in a field (in case) X and go to a state, it is deleted (this field should be saved in the history, I think this is done by default). This is necessary so that ...
0
votes
1
answer
3k
views
How to fetch the ID of the record using the name of the record?
I have 2 objects (Account and case), where Case record will be created from an external source which passes account number as a input, Based on the account number I need to capture Account ID and ...
0
votes
1
answer
1k
views
How to get Email alert ID in salesforce flow
I have created a classic email template and an email alert. Added that email alert in the record triggered flow. I have to add that email alert to the case record. How can I get that email alert ID so ...
1
vote
1
answer
952
views
How to check if no new opportunity has been created in past 1 year for an account in salesforce?
I've to create an automation process to check that no new opportunities has been created for an account in past 12 months and update the account field based on that.
Tried process builder, but it ...
-2
votes
1
answer
1k
views
Have a salesforce flow, and once the record gets created in the flow, the flow to redirect to detail page of new record
Have a salesforce flow, and once the new case record gets created in the flow, after the flow finished it has to redirect to detail page of new case record created
0
votes
1
answer
2k
views
Salesforce Flow - Loop - Database Access potential limits issue
I'm new to flow, and finally managed to get a flow working, but the Flow Builder tips is advising the following;
Remove Database Access from Loops
A loop contains a/an Get Records element. To avoid ...
0
votes
2
answers
172
views
Unable to make simple Apex class invocable - find custom location record based on coordinate input
I've got a simple class containing a SOQL query that finds the nearest custom location record based on the input of 2 coordinates:
public with sharing class NearestLocation {
@InvocableMethod(label='...
0
votes
1
answer
1k
views
Flow created to check if the Group Member are Similar to the User in the Flow
Flow is been called through a Process Builder, and it passed the string of a user to the Process Builder to check if some certain user resides in the Queue or not.
I have found out the Queue Member ...
0
votes
1
answer
79
views
Flow: Use new type for variable?
I have a simple new class X which holds some results of a callout to an external system.
In a flow I need a variable of type X. Is there any way to declare a variable of that new type in a flow?
My ...
0
votes
1
answer
413
views
Issue with workflow and validation rule (tripping validation) -- issue of recursion?
I'm having more issues that I'd expect trying to add a validation rule to contacts. The issue is that I'm experiencing workflow creep.
I rely on process builder and flows to keep certain objects in ...
0
votes
1
answer
708
views
Salesforce: How do I get a flow to realize that it needs to pull information from the account is referenced in my apex scheduler?
I am new to apex and have built an apex schedule class that runs everyday. If an account has an account review date for commissions is two weeks (14 days) away the scheduler will send an email to our ...
1
vote
1
answer
9k
views
How do I get a variable back from a flow?
I have a flow in SalesForce which creates a new object record and populates its fields. I then set a variable vAddendumId in the flow. I would like to be able to reference that Id on the ...