您位於此處:
Spring ’26 (API 版本 66.0)
這些更新只會影響設定為在 API 66.0 版及更新版本上執行的流程。
您位於此處:
這些更新只會影響設定為在 API 66.0 版及更新版本上執行的流程。
| 檢視支援的版本。 |
作為可叫用動作參數的自訂 Apex 類別現在需要無引數建構函式。這些類別通常包含以 @InvocableVariable 註釋的內容。此需求適用於流程、REST API 或 Apex 程式碼呼叫可叫用動作時。
如果您的自訂 Apex 類別定義其他建構函式,請新增明確的 no-argument 建構函式。針對您組織或相同封裝中的類別使用公用存取權修飾詞。針對受管理封裝中的類別使用全域存取權修飾詞,讓類別可從訂閱者組織存取。
如果流程使用在 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.