Use Future Methods
Please check this article.
https://developer.salesforce.com/forums/?id=906F0000000BaG9IAK
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 1 year has passed since last update.
Please check this article.
https://developer.salesforce.com/forums/?id=906F0000000BaG9IAK
Register as a new user and use Qiita more conveniently
Go to list of users who liked