The Invocable method must be static and public or global , and its class must be an outer class. Only one method in a class can have the InvocableMethod annotation. Triggers can’t reference Invocable methods. Other annotations can’t be used with the InvocableMethod annotation.
An invocable method will not accept more than one argument as a method parameter. Only static methods can be invocable methods and also More than one invocable method is not allowed per class.