Question

9
Replies
194
Views
RasaiyaNadar Member since 2013 78 posts
Accenture
Posted: September 8, 2016
Last activity: September 23, 2016
Closed

Standards suggestion for a scenario at design level

Suppose i have an abstract class say "A-" and three concrete class "A-B", "A-C" and "A-D"

Now the requirement is on commit of these 3 work object i need to do some processing by running an actity.

Activity has been created in "A-" class.

Now i have a question, in which class declare trigger should be place to run the activity?

Approach 1:

Create one declare trigger in "A-"

Approach 2:

Create three declare trigger in three concrete class.

 

Which should be the best practice keeping performance factor in mind ?.

~Ross

***Updated by Moderator: Lochan. Removed user added helpme and Ask the Expert tags. Apologies for confusion, shouldn't have been an end-user option***

System Administration
Moderation Team has archived post
Share this page LinkedIn