Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
3 votes
Accepted

Call Managed Package Flow from Apex

There's a separate method for calling with a namespace. Have you tried: Flow.Interview criteriaFlow = Flow.Interview.createInterview('pcp', 'Account_Record_Criteria_Evaluator', inputs); See also: ...
Nick C's user avatar
  • 6,740
3 votes

How to get record Id in record triggered flow

For record triggered flows the record that triggered the flow is automatically stored in the global variable {!$Record}. You do not need to create a variable to store it as you can directly access it ...
Adriaan Van Niekerk's user avatar
2 votes
Accepted

Close Modal using CloseActionScreenEvent

If I understood your question correctly you are calling the flow directly from a Quick Action. If you are then all you'd need to do is fire a FlowNavigationFinishEvent. To my knowledge you'd use ...
Liam Gatt's user avatar
  • 139
1 vote

How error `Flow Version Limit Exceeded, Details: You can only have 50 versions per flow.` can be avoided?

We can create a script deleteFlow.sh for i in {1..50}; do sf project delete source -r -m Flow:$1-$i done and then just execute ./deleteFlow.sh VeryPopularFlowWithTooManyFlowVersions
Patlatus's user avatar
  • 17.1k
1 vote

restrict multi-picklist choices in screen flow

I would do the following OPTION 1 Install the UnofficalSf.com Manage MultiSelect Picklists package. (If you're not aware of UnofficalSf.com, now is a good time. There are tremendous resources here) ...
cropredy's user avatar
  • 71.8k
1 vote
Accepted

How to get record Id in record triggered flow

$Flow.CurrentRecord is a Record, not an Id. If you want the Id, use $Flow.CurrentRecord.Id. Just creating a variable called recordId won't automatically give you the Id in a record-triggered flow. ...
sfdcfox's user avatar
  • 494k
1 vote

Flow - Text fields with defined variables e.g. {!$Record.FieldName__c}

@user3299199 Create any text variable and assign message content and store it in custom object
Jenifa Pearlin's user avatar
1 vote

Can't send an automatic email when validation rule is triggered

Stopping a record from being created through a validation rule also prevents all side effects, such as sending an email. Instead, you would want to send an email first, then delete the case after the ...
sfdcfox's user avatar
  • 494k
1 vote

Salesforce Flow Input Validation

Whitespace is a thing that has a special representation in regex. \s The backslash is the "escape" symbol, it tells the regex engine that the next character has a special meaning. \s = space ...
Derek F's user avatar
  • 62.1k
1 vote

Checking if picklist value is blank to start a flow

PRIORVALUE should wrap around !$Record.HSFE_Lead_Origin__c: PRIORVALUE(!$Record.HSFE_Lead_Origin__c) You can then use this inside of an ISPICKVAL statement: ISPICKVAL(PRIORVALUE(!$Record....
Morgan Marchese's user avatar
1 vote

How to send Email from flow daily basis using schdule path if Task due date greater than today and status until Completed?

Are you trying to use a Scheduled Path on a Record-Triggered Flow? As you described, that would only run once, unless you made the triggering record change again. I would just use a Scheduled-...
Jerry Woods's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible