詳細情報:
Apex アクション (従来) 要素
従来の Apex インターフェースを使用する Apex クラスをコールします。Apex クラスは、Process.Plugin インターフェースが実装されている場合にのみ従来の Apex アクションとして使用できます。
従来の Apex インターフェースを使用する Apex クラスをコールします。Apex クラスは、Process.Plugin インターフェースが実装されている場合にのみ従来の Apex アクションとして使用できます。
| サポートされているエディションを表示する。 |
[アクション] 要素をフローに追加します。アクションのリストをカテゴリではなく種別で絞り込みます。[Apex アクション (従来)] を選択し、設定するアクションを選択します。
Process.Plugin インターフェースを実装していない場合は、代わりに @InvocableMethod アノテーションを使用することをお勧めします。Process.Plugin インターフェースとは異なり、@InvocableMethod アノテーションは sObject、コレクション、Blob、および Time データ型と一括処理をサポートしています。実装も簡単です。インターフェースとアノテーションを比較するには、「フローで Apex アクションを実行」を参照してください。Apex アクションの入力を設定するときは、フローの前半の値を使用します。
従来の Apex アクションの出力をフローの後半で使用するには、それらを変数に保存します。この値は、コードの実行時に割り当てられます。
Apex クラスがレコードを作成、更新、または削除する場合、インタビューのトランザクションが完了するまで、アクションは実行されません。インタビューが完了または実行されたときに、画面、ローカルアクション、または待機要素がトランザクションに反映されます。
Flow Builder では、入力値と出力値の説明は表示されません。各パラメーターについての詳細は、Apex 開発者にお問い合わせください。
従来の Apex アクションはプラグインコード内でタグで整理されません。
クラウドフローデザイナーでは、必須入力パラメーターの値を設定しなくても Apex プラグイン要素を保存できます。対応する従来の Apex アクションを Flow Builder で開いた場合、必須入力パラメーターの値を設定しない限りその要素の変更を保存できません。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.