I created a very simple class with an invocable method:

public class CKZUpdateAccountCreditLimit {

    public static void updateAccountCreditLimit(List<Id> invoiceIds) {
        // code would go here


It does not appear in the drop-down of Apex Classes in Process Builder, however. Is there something about this class that prevents it from being displayed in the drop-down options? Or is there a user or profile setting I need to enable to do this?

1 Answer 1


You need to be sure that the tests have run against this class in the target org. Go to the target org, Setup | Develop | Apex Test Execution choose the test for this invocable (if you haven't written one - then it needs to be written and deployed)

(same applies to Schedulable classes)

  • I'm using a Trialforce org. I thought Apex test requirements didn't need to be met there. Oct 10, 2018 at 21:56
  • @MichaelSobczak - I don't have experience w/ TrialForce but this behavior has certainly been observed in Enterprise orgs - give it a whirl and see if it clears up your issue
    – cropredy
    Oct 10, 2018 at 22:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.