You need to sign in to do that
Don't have an account?
PluginA extends PluginB that implements Process.Plugin interface: Doesn't show up
Hi,
I want to have two Apex plugins to use in the Cloud Flow designer with a fair bunch of shared functionnality.
Inheritance therefore comes to mind.
Here's what I did:
global virtual class PluginA implements Process.Plugin {
// Some_Code...
}
global class PluginB extends PluginA {
// Some_Code...
}
When I go to the Visual Workflow Cloud Designer, PluginA shows up, but PluginB doesn't.
Why is that? Did I go wrong somewhere?
Is there a way to make this work with inheritance (I could always create another class that implements the functionnality and call it from my Plugins, but that's sub-optimal).
Thanks in advance,
Thomas
We found out that we had to repeat "implements Process.Plugin" in the inheriting class.
Yes.. currently only classes which implements the interface are pulled in the cloud flow designer. Extensions are something we are considering to support.