function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Andrey BolkonskyAndrey Bolkonsky 

How to have an invocable method with multiple output values?

I am working on my second Invocable method I want to call within a flow and I am having trouble conceptualizing this.

I want to output 3 different integer values from the invocable method back out to the flow but I don't know how to do this if I can have only one Return statement.

My first invocable method took in one variable and output one value so it was easy.

How should I solve for this?
Danish HodaDanish Hoda
Hi Andrey, create a wrapper class with all the values and return the class type.