I’ve read a couple of blogs about the @InvocableMethod annotation in Apex being available in Spring 15 - just wondering whether we might be able to invoke methods from Skuid pages? My understanding is that its available from the lightning process builder, but it would be awesome to have this in Skuid and would solve some of those ‘can we trigger apex from Skuid’ questions.
more info here https://help.salesforce.com/apex/HTViewSolution?id=000206831&language=en_US and here https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_annotation_InvocableMetho…
Greg,
We have been working on support for abstract method invocation from Skuid via JavaScript and the Action Framework, but this is not fully ready yet.
At this point our plan is to allow you to invoke methods of either Process.Plugin or @InvocableMethod , if not both — in my opinion it is ridiculous that Salesforce added another"abstract method invocation" paradigm when they already had somethign going with Process.Plugin. They decided to implement a new way to do things rather than making their old way better (see the comments at the top here). So now if you want to run custom Apex logic from Visual Workflow, you have to write Apex Code that implements Process.Plugin, but for it to be used in Lightning Process Builder, it has to implement @InvocableMethod — Salesforce could have reused Process.Plugin for both of them, no problem. Probably had something to do with Lightning Process Builder not being as native to the platform as Visual Workflow was required to be. Thus the fact that @InvocableMethods are only “invocable” via the REST API and not via Apex.
Okay I’m done with my rant
Either way it will be awesome.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.