You need to sign in to do that
Don't have an account?
Akshay Poddar
Do we have any Declarative Approach For Dynamically Calling Apex Classes ?
I Have Multiple Apex Classes and i want to decide which Apex Class to Call on Run time Based on the Record Value.
I want to make a Generic approach for this, i already tried with Tightly coupled approch like comparing record value with something and calling Apex.
I can definitely accomplish this with the help of Factory Pattern Classes and Triggers. But Requirement is to have this in Declarative Approach.
Thanks
Did you try Process Builder. Call the apex class from Process Builder based on the criteria(record value).
--
Magulan Duraipandian
www.infallibletechie.com
Hi Magulan,
I already have this approach ready but it create more tightly coupled solution for identifying which apex class to call. As i need to modify process or flow every time new class come and compare it in process againt record value.
I want Factory Pattern Implementation for this using Declarative features of Salesforce.
Thanks For Reply.