Notes
Apex:
public class SubClass {
public static void CreateContact(String FirstName, String LastName){
Contact con = new Contact();
con.FirstName=FirstName;
con.LastName=LastName;
insert con;
}
}
Call the method from the class and assign values to parameters
SubClass.CreateContact('John', 'Smith');
Flow Builder:
SubFlow
Call the SubFlow in another flow
Video
Video does not exists.