Issue:
F-Secure は、Future Method を使用してスキャンを実行し、同様に Future Method を使用するカスタム スクリプトとの衝突を実行します。これを解決する方法について何か提案はありますか?
Resolution:
デフォルトでは、Cloud Protection for SalesForce は電子メール添付ファイルのスキャンを呼び出すためにキュー可能ジョブを使用します。ただし、Future メソッドが呼び出された場合は、キュー可能ジョブの制限に達したことを意味するため、F-Secure アプリは代わりに Future メソッドの使用に切り替えます。 Future メソッドは非同期であるため、Future メソッドから Future メソッドを呼び出すことはできません。
カスタム スクリプトには Future メソッドの代わりに Queueable インターフェイスを使用することをお勧めします。 Queueable インターフェイスではチェーン ジョブが可能です。つまり、F-Secure ジョブはカスタム ジョブからのシステム例外なしに開始できます。
Article no: 000031101
![powered by Google Translate](https://us.v-cdn.net/6032052/uploads/GB5QKNE9FEQC/greyscale-regular.png)
The content of this article has been machine translated from the English source article.
While reasonable efforts have been made to provide accurate translations, there may still be translation errors.