Skip to main content

New answers tagged

0 votes

When to use InvocableVariable?

The whole point of invocables is to provide a single bulk interface to all of the flow interviews. Similar to how SFDC bulkifies Get Records, Create Records, etc. elements. It is "natural" ...
cropredy's user avatar
  • 72.5k
0 votes

System.TypeException: "emailSimple" isn't a valid action type

I had the same issue when I tried to do the exact same thing today. I raised a case w/ Salesforce and this is what I was told. I came across to know about of only a subset of standard actions are ...
protivakid's user avatar
0 votes

Test Class for a invocable Apex class

Thank you Derek and Renato, This helped me understand the process. This worked! 90% of tests end up looking pretty much the same. There are a few special cases out there, but you're not running into ...
Mike's user avatar
  • 1
0 votes

Test Class for a invocable Apex class

If your invocable action is meant to accept a text string and output a list of strings (1:n for each record your flow handles), then you are on the right path on the implementation. The test is rather ...
Renato Oliveira's user avatar
2 votes

Test Class for a invocable Apex class

Intro 90% of tests end up looking pretty much the same. There are a few special cases out there, but you're not running into any of those here. Like I said in my first comment, it pretty much all ...
Derek F's user avatar
  • 63.2k

Top 50 recent answers are included