個案的觸發處理常式 - GoalAssignment 物件
檢閱與 Case、CommSubConsentCmplSnpsht、CommSubscription、CommSubscriptionConsent、ContactPointAddress、ContactPointEmail、ContactPointPhone、ContactPointSocial、ContentDocument、ContentDocumentLink、Expense、ExpenseParticipant 和 GoalAssignment 物件相關聯的觸發處理常式名稱、描述和觸發條件。
必要版本
| 提供版本:Lightning Experience |
| 提供版本:具有 Life Sciences Cloud、Life Sciences Cloud for Customer Engagement 附加元件授權和 Life Sciences Customer Engagement 受管理封裝的 Enterprise 和 Unlimited Edition。 |
您也可以檢閱套用至所有物件的觸發處理常式。
個案
檢閱與「個案」物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| CaseMSLQueueHandler | 監視與管理個案狀態變更。在個案記錄更新前,處理醫學科學連線使用者的醫療查詢到達到達。當提交查詢且狀態變更為「已提交」時,觸發處理常式會將個案指派給適當的 MSL 排隊。當狀態變更為「已指派」時,觸發處理常式會將擁有權重新指派給目前使用者來處理查詢。 | beforeUpdate |
| CaseChangeOwnershipHandler | 處理在個案記錄更新後,與銷售代表共用醫療查詢記錄。當個案轉換為「已提交」或「已回應」狀態時,處理常式會建立 CaseShare 記錄,以將讀取存取權授與個案建立者或擁有者。此流程會透過確保原始建立者或擁有者能夠保持對個案的可視性,以維護查詢管理工作流程中的資料透明度,即使擁有權變更也是如此。 | afterUpdate |
| CaseShareToCreatorHandler | 處理在個案記錄更新後,銷售代表與醫療科學連線使用者之間的醫療查詢擁有權變更。當個案的 OwnerId 變更時,擁有權變更會自動串聯至所有相關的查詢物件,例如 InquiryQuestions 和 SubjectAssignments。處理常式會查詢具有更新的擁有權之個案,並且在這些子系物件上搜尋相關記錄,並更新擁有者,以確保資料的一致性。 | afterUpdate |
CommSubConsentCmplSnpsht
檢閱與 CommSubConsentCmplSnpsht 物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| ConsentGiverSnapshotHandler | 驗證授與同意是否有效。 | beforeInsert |
| ConsentSnapshotSharingHandler | 與符合帳戶的區域範圍共用同意快照。 | afterInsert |
CommSubscription
檢閱與 CommSubscription 物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| ConsentNameCommSubHandler | 當相關的「通訊訂閱」記錄名稱變更時,更新「通訊訂閱同意」記錄。 | beforeUpdate |
CommSubscriptionConsent
檢閱與 CommSubscriptionConsent 物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| ConsentGiverConsentHandler | 驗證是否存在同意授與者帳戶,且與快照記錄相同。 | beforeInsert、preventUpdate |
| ConsentSharingHandler | 與符合帳戶的區域範圍共用同意。 | afterInsert |
| ConsentUniqueRecordHandler | 處理 CommSubscriptionConsent 的變更,並維護唯一記錄。 | beforeInsert |
ContactPointAddress
檢閱與 ContactPointAddress 物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| AccountAddressPrimaryHandler | 確保每個帳戶僅維護一個主要連絡點地址。只要建立或更新連絡點地址記錄,就會觸發,以確保一律強制執行一個主要規則。 | beforeInsert、afterInsert、preventUpdate、afterUpdate |
| RelatedContactPointAddressHandler | 驗證連絡點地址階層規則,以確保子系地址與個人帳戶相關聯,而父系地址與公司帳戶相關聯。 | beforeInsert、preventUpdate |
ContactPointEmail
檢閱與 ContactPointEmail 物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| ContactPointEmailPopulateHandler | 更新醫療照護提供者記錄,以在建立、修改、移除或還原連絡點電子郵件記錄時,維護相關聯電子郵件地址的準確清單。這可確保醫療照護提供者記錄上的 EmailIds 欄位會反映目前相關的電子郵件地址,並避免不必要的處理。 | afterInsert、afterUpdate、afterDelete、afterUndelete |
ContactPointPhone
檢閱與 ContactPointPhone 物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| ContactPointPhoneHandler | 每當建立、修改、移除或還原連絡點電話記錄時,更新醫療照護提供者記錄,以維護相關聯電話號碼的準確清單。這可確保醫療照護提供者記錄上的 PhoneNumbers 欄位會反映目前相關的電話號碼,並防止冗餘處理。 | afterInsert、afterUpdate、afterDelete、afterUndelete |
ContactPointSocial
檢閱與 ContactPointSocial 物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| ContactPointSocialPopulateHandler | 更新醫療照護提供者記錄,以在建立、修改、移除或還原連絡點社交記錄時,維護相關聯社交媒體處理的準確清單。這可確保醫療照護提供者記錄上的「SocialIdentifiers」欄位會反映目前相關的社交控點,並防止不必要的執行。 | afterInsert、afterUpdate、afterDelete、afterUndelete |
ContentDocument
檢閱與 ContentDocument 物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| ConsentContentDocumentHandler | 處理 ContentDocument 的變更。 | afterInsert、afterUpdate、afterDelete、afterUndelete |
| ContentDocumentLockHandler | 防止刪除連結至已提交造訪或相關實體之文件的作業。 | beforeUpdate、afterDelete |
ContentDocumentLink
檢閱與 ContentDocumentLink 物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| ConsentContentDocumentLinkHandler | 處理 ContentDocumentLink 的變更。 | beforeInsert、afterDelete |
| ContentDocumentLinkLockHandler | 防止將插入/刪除作業插入至已提交造訪的文件連結或相關實體。 | beforeInsert、afterDelete |
費用
檢閱與「費用」物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| ExpenseLockHandler | 如果已鎖定,則無法在「費用」上插入/更新/刪除作業。 | beforeInsert、preventUpdate、preventDelete |
ExpenseParticipant
檢閱與 ExpenseParticipant 物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| ExpenseParticipantNameHandler | 將「帳戶/連絡人參與者」名稱儲存為「費用參與者名稱」。 | beforeInsert |
| ExpenseParticipantLockHandler | 防止在 ExpenseParticipant/Allocations 上插入/更新/刪除作業 (若已鎖定)。 | beforeInsert、preventUpdate、preventDelete |
GoalAssignment
檢閱與 GoalAssignment 物件相關聯觸發處理常式的名稱、描述和觸發條件。
| 觸發名稱 | 描述 | 觸發條件 |
|---|---|---|
| GoalAssignmentDeleteHandler | 刪除「目標指派」記錄。 | beforeDelete |
| SetTerrBusPlanPrcntCompleteHandler | 更新「區域範圍業務計畫」記錄的「完成百分比」。 | beforeInsert、afterInsert、afterUpdate、afterUpdate、afterDelete |

