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
sambasamba 

Property issues and how call class's method in trigger?

1. while a property create after..how modify as read only?

 

2. how in trigger call trigger out method?

SurekaSureka

Hi,

 

I am not clear with the first question. To call a class from a trigger,

 

For eg,. If the class name is Accounttest and the method name is testingAccount()

 

To call this class from trigger  - Accounttest a =new Accounttest();

                                                         a.testingAccount();

 

Thanks

sambasamba

the second , i use @Future(callout=true) annotation.

about first i have no solve.

 

 

thanks.