Questions tagged [callable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
14 views

Callable Interface: TypeName throws nullpointer Exception calling external Package Content

Implementing Callable Interface as described from Salesforce: global with sharing class XXX_Callable implements Callable { // Dispatch actual methods global Object call(String action, Map<...
1
vote
0answers
58 views

Callable : Can we call class methods from different managed package without using namespace?

CALLABLE Enables developers to use a common interface to build loosely coupled integrations between Apex classes or triggers, even for code in separate packages. I have created an LWC component and ...
2
votes
1answer
124 views

Do callable classes still need to be marked as global to access them outside of managed packages?

I created a callable class for a managed packaged but I am unable to actually get an instance while calling it from outside the package. In execute anonymous: Type.forName returns null Callable ...
2
votes
1answer
1k views

How to invoke Apex Class dynamically using Callable Interface?

Recently I was tasked with a project to dynamically call a class from a packaged trigger. This will allow clients to hook their custom logic instead of what is supplied as part of the package. I ...
1
vote
0answers
392 views

Dynamic class invocation in trigger - Callable Interface

Recently I was tasked with a project to dynamically call a class from a packaged trigger. This will also clients to hook into their custom logic instead of what is supplied as part of the package. I ...