2
votes
Accepted
Record triggered flow not triggering
OwnerId must be a valid Salesforce Id, so it cannot be "Pooja".
If it's the owner's name, you could create a Formula field (i.e. Owner Name) on Opportunity, then use it in the entry ...
2
votes
Accepted
Need to calculate Elapsed time between 2 Date time fields excluding weekends
Anything beyond the most simple of Date/time calculations are generally best done using Apex instead of formulas.
That said, it does look like there are improvements that you can make here.
Swapping ...
2
votes
Accepted
Is there a way to force a flow to do an update and then continue to the next element?
You have three basic options. First, you can use a Pause with a zero hour delay, which pauses and immediately unpauses the interview in a new transaction. Second, in the Update Records element, you ...
2
votes
Querying on Multi-Select Picklist in Get Records in Flow
After similar frustration, I've gotten this to work by using the new Collection Filter Element, which apparently supports Contains for multi-select picklists (even though the Get Element does not).
...
1
vote
Changing flow type stops it updating records
This was because of a subtle change in the Update Records element at the end of the flow. The original version had these options:
whereas the new version had these options for the Update Records ...
1
vote
Accepted
Mystery Error Message For Flow Entry Criteria Formula
This appears to be a Salesforce Flow Limitation - Relayed from another question - "This is because Formulas in entry criteria that use Formula fields involving traversals are currently not ...
1
vote
Cannot see Http Callout in Flows
HTTP Callout is Available in:
Lightning Experience
Enterprise, Unlimited, and Developer Editions.
In Flow Builder, dragging the Action Element on to the canvas exposes the Action modal. There, you ...
1
vote
Accepted
Do I need to Bulkify a DML inside a loop followed by end in Flows
Best practices around bulkification are designed to ensure your automation stays under the governor limits.
Because you have an end element in the loop, the loop won't overconsume system resources. It'...
1
vote
Accepted
Flow: Excluding recordtypes
OR doesn't work the way you (apparently) think it does. It says that if either value is true, then the result is true.
Consider this truth table:
OR
true
false
true
true
true
false
true
false
If ...
1
vote
Accepted
migratedFromWorkflowRuleName contains an invalid workflow rule name
this also happened in our sandbox yesterday, I spent the whole day trying to figure out what was happening, but I opened a case with Salesforce and there is supposed to be a patch for this, I don't ...
1
vote
Accepted
Is addError() available in a Record-Triggered Flow
Starting from Winter 24, Salesforce has added the capability to add Custom Error interaction component in a record triggered flow as detailed below
The instructions can be found in the release notes ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
visual-workflow × 3149apex × 460
process-builder × 306
visualforce × 168
visual-flows × 149
lightning-web-components × 145
workflow × 139
screen-flow × 129
lightning × 123
lightning-aura-components × 121
trigger × 114
invocable-method × 112
formula × 89
automation × 73
community × 63
email × 50
recordtriggeredflow × 48
loop × 41
unit-test × 37
salesforcedx × 37
managed-package × 37
formula-field × 36
picklist × 36
custom-button × 35
email-alert × 34