Symptom
- Users are unable to override field values set by a pre-hook determination (CustomDeterminationXYZ) during case creation.
- This determination is intended to populate two extension fields when the Account Name contains a specific keyword (e.g., "ABC"):
- ExtensionField1_CF = false
- ExtensionField2_CF = 'Internal'
- Although pre-hooks are designed to suggest values and allow manual overrides before save, users are unable to change these field values after the determination runs.
Environment
- SAP Service Cloud Version 2
- SAP Sales Cloud Version 2
Reproducing the Issue
- Open the SAP Service Cloud Version 2 system.
- Navigate to a case where the account name contains "ABC".
- Attempt to change the following fields:
- ExtensionField1_CF
- ExtensionField2_CF
- Observe that the changes are not applied.
Expected:
Users should be able to override the pre-populated values.
Actual:
The system re-applies the determination logic, preventing manual overrides of the field values.
Cause
- Pre-hook determinations are executed in the order defined in the UI.
- If a broad condition is applied in the last-executed pre-hook, it may overwrite prior user input.
- Refining the logic ensures that determinations do not override values unnecessarily.
- The determination was executed as the last one in the sequence, making its values final and preventing manual overrides.
- The system re-applies the determination logic, preventing manual overrides of the field values.
Resolution
- This scenario is hypothetical and is meant to illustrate how pre-hook determination logic can be refined to support user overrides.
- It is the responsibility of each implementation team or customer to customize the condition logic to meet their business requirements.
- Proposed Adjustment to Determination Logic:
- Navigate to the Extensibility Administration section.
- Go to Business Entity: Case Service → Case → Determinations.
- Locate the pre-hook determination responsible for the issue.
- Refine the condition logic to prevent unintended overrides. For example:
- Add additional conditions to ensure the determination logic does not reset values unnecessarily.
- Ensure that the determination logic only applies when specific criteria are met.
- Save the changes and test the updated determination logic to confirm the issue is resolved.
- For example, if the logic is:
- If ( account/name Contains 'ABC' ), then add
- If ( account/name Contains 'ABC'
and extensions/ExtensionField1_CF Equals 'False'
and extensions/ExtensionField2_CF Equals '' )
- This ensures that the determination only sets values when the fields are uninitialized, allowing users to make manual changes when needed.
Understanding Pre-Hooks vs Post-Hooks
| Hook Type | Timing | Behavior |
|---|---|---|
| Pre-hook | Executed before a record is saved | Suggests field values, which users can review and override |
| Post-hook | Executed after the initial data submission but before final save | Enforces field values, does not allow user overrides |
Keywords
pre-hook determination, manual override, sap service cloud version 2, account name ISCINT, extensibility administration, determination logic, field reset, sendcaseacknowledgementmail_cf, callertype_cf, case management, sap service cloud troubleshooting , KBA , CEC-CRM-CAS , Case Management for SAP Sales/Service Cloud , Problem
Product
SAP Service Cloud Version 2 all versions
SAP Knowledge Base Article - Public