How To Set Flexfield To Be Required By Form Personalization
(Doc ID 735423.1)
Last updated on NOVEMBER 15, 2023
Applies to:
Oracle Teleservice - Version 11.5.10 to 12.1.3 [Release 11.5 to 12.1] Information in this document applies to any platform.
Symptoms
Trying to make a descriptive flexfield segment required by using personalizations to modify a form item property (required=TRUE) but the field does not become required. Instead, when applying the personalization, the form errors with
ERROR: FRM-41014: Cannot set attribute of null canvas item TASKS.ATTRIBUTE4
-- Steps To Reproduce: Create one or more flexfields for the service request form CSXSRISR: Application: Service Title: Additional Information for Agents
Switch to the service request form. Click on Help -> Diagnostics -> Custom Code -> Personalize Create a new entry for level Form and enable it. Condition: Trigger Event: WHEN-NEW-ITEM-INSTANCE Trigger Object: INCIDENT_TRACKING.STATUS_CODE Condition: :INCIDENT_TRACKING.STATUS_CODE LIKE '4 %' (for this example we have status code 1, 2, 3, 4, 5, 6,...)
Actions: New entry for type Property Object Type: Item Target Object: INCIDENT_TRACKING.INCIDENT_ATTRIBUTE_4 Prpoerty Name: REQUIRED Value: FALSE
Change the status to 4 and check the flexfield once more. Now it should be required but it isn't
Cause
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!