function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SwayampravaSwayamprava 

webservice callout on Account Team Member change

Account Team Member :

Can I get an update on my Account Team member records add, edit or delete?
I want to call a webservice on change on my account Team. As we cannot write any trigger and if we are using only the standard functionality then how to achieve this??

Vinit_KumarVinit_Kumar
why can't you use Workflow (Outbound messaging) functionality for the same.

That's the way you can achieve this without writing any Trigger,In fact no code is needed for the same.
SwayampravaSwayamprava
We cannot write workflow also on this object
Vinit_KumarVinit_Kumar
How are you expecting the webservice class to be called ??

The only other way I can see is to have Custom button which would call the Apex class which contains this webservice methods.
SwayampravaSwayamprava
Thanks for your reply. I need to check what team members are edited or deleted or any new one is added there or not? then only i need to call out the webservice. Can this be possible?
Vinit_KumarVinit_Kumar
I think there are two ways of doing it :-

1.) An Apex Trigger which would check if the Team member was edited or Delted and then call the Apex Class with webservice method .

2.) You can have a Scheduled Apex which would run at a particular time (daily,weekly) to perform this.
SwayampravaSwayamprava
Apex trigger is not available on Account Team Member object. and 2nd option  we have alredy , but are thinking any other way to do it.

But thanks a lot for your answer.