Unanswered Questions
1,095 questions with no upvoted or accepted answers
9
votes
1
answer
3k
views
Populate Record Choice Set from a Record Collection Variable
I am creating a lightning flow & trying to create an input with dynamic choices.
On the basis of some decisions I am using get Records with different filter criteria to get records & using ...
7
votes
0
answers
136
views
Are Visual Workflows/ Process Builder based on Apex?
What technology is behind Visual Workflows/ Process Builder?
See salesforce.com/video/303091, fwd to 38:28... per Josh Kaplan, none of the declarative tools compile into java bytecode instructions. ...
6
votes
1
answer
5k
views
List view button to launch a flow in modal (pop up) window - is it possible?
I would like to have a list view button that goes to a URL that starts a flow. However, if the URL is just the link to the flow (for example, "/flow/<flow_name>"), the user is ...
6
votes
0
answers
771
views
Collection Variable as Dynamic Choices/Choices in Visual Workflow
Is there a way to use a collection variable for a dynamic choices/choices element within the flow?
ex. I have a collection variable "numbers" within the flow that I've already populated with (1,2,3) ...
6
votes
1
answer
170
views
Performing DML on empty list in a flow consumes governor limits but doing same in apex does not?
I tried to make a dml call on an empty list in an autolaunched flow and after looking into the debugs, I got to know that governor limits are getting consumed. But the same is not true when we perform ...
5
votes
0
answers
344
views
Marketing Cloud Journey Builder PB/Flow on Contacts Causing CPU Limit Issues
In our Org, the JBSystemFlow_Contact flow is being called by a Process Builder every time a Contact is saved, and causing us to hit the CPU Governor Limit. I know that CPU limits can come from ...
5
votes
1
answer
190
views
How do I bind a Flow Screen variable to a LWC Custom Property Editor input?
I've build a navigation LWC with a Custom Property Editor to be used in a Flow Screen.
The Flow has a Screen with a checkbox 'cancelCheckbox'.
When the agent ticks that checkbox, the red button '...
5
votes
1
answer
573
views
Unit test for Pause Reason in a Screen Flow
I've created a script in apex that captures the pause reason in a screen flow.
In general, I use the FlowRecordRelation and FlowInterview to capture the pause reason and save it to a specific field.
...
5
votes
0
answers
2k
views
How to identify the parent record related to a paused flow interview using a SOQL
I need to cancel some of the actions scheduled by different process builders (executed on opportunity) but it is not easy to identify the related paused interview flow records....I dont know how can I ...
5
votes
0
answers
2k
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 ...
5
votes
1
answer
221
views
Process Builder - scheduled action problem
We have found out a big problem by using Scheduled Action in a process builder.
In a process builder we have built a condition that fires when record is in a given status and this condition starts a ...
5
votes
0
answers
363
views
Fast lookup does not always return data as expected - sometimes will after wait
I'm running into an issue with some of my flows where a Fast Lookup will not return any records, when I know for a fact there are items that meet the criteria.
I added a Wait statement to my flow, ...
5
votes
1
answer
1k
views
Fetch unique values using visual workflow
I am creating a dependent picklist in visual workflow using dynamic choice elements. The data source for picklists is database. When I fetch values I am getting duplicate values as it is in the ...
5
votes
1
answer
1k
views
Fetch unique values using visual workflow
I am creating a dependent picklist in visual workflow using dynamic choice elements. The data source for picklists is database. When I fetch values I am getting duplicate values as it is in the ...
4
votes
1
answer
91
views
Record triggering Flow using old value when filtering a get record
I have a flow that is set to run after the record is saved to the database.
The field that triggers the start of the flow is a change on the 'Billing State'.
I want to get an element using the new ...