How To Set Flexfield To Be Required By Form Personalization
Last updated on SEPTEMBER 02, 2016
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.
Checked for relevance on 27-AUG-2013
Trying to make a descriptive flexfield segment required by using personalizations to modify a form item propery (required=TRUE) but the field does not become required. Instead, when applying the personalization, the form errors with
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:
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.
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,...)
New entry for type Property
Object Type: Item
Target Object: INCIDENT_TRACKING.INCIDENT_ATTRIBUTE_4
Prpoerty Name: REQUIRED
Change the status to 4 and check the flexfield once more. Now it should be required but it isn't
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms