Configure Fields for the Data Model Configuration
You must create custom fields for service request.
Following are the steps:
-
Sign in to Oracle CX Sales using Administrator role.
-
Navigate to Application Composer.
-
Go to Service Request > Fields.
-
On the Custom page, click Create a custom field icon.
-
Create the following fields:
-
Process Status (Type: Choice List (Fixed))
-
In List of Values section, create a lookup type
CASE_PROCESS_STATUS
with meaning Case Process Status. -
Add the following lookup code values:
-
Meaning: Not Started; Lookup Code: NOTSTARTED
-
Meaning: Activated; Lookup Code: ACTIVATED
-
Meaning: Canceled; Lookup Code: CANCELED
-
Meaning: Completed; Lookup Code: COMPLETED
-
-
In Constraints section, for Depends On, select Title field.
-
Select Updatable, click xyz expression icon for Updatable, add the following groovy code:
return Title == null
-
In Default Value section, select Fixed Value and select Not Started.
-
Click Save and Close button.
-
-
Case Type (Type: Record Type)
-
In List of Values section, create a Lookup Type
SR_CASE_TYPE
with meaning SR Case Type with the following meanings:-
Meaning: Deceased Estate; Lookup Code:
DECEASED_ESTATE
-
Meaning: Separation; Lookup Code:
SEPARATION
-
-
In Constraints section, for Depends On, select Process Status field.
-
Select Updatable, click xyz expression icon for Updatable, add the following groovy code:
return nvl(ProcessStatus_c,"") == "NOTSTARTED"
-
Click Save and Close button.
-
-
Date of Birth (Type: Date)
-
Date of Death (Type: Date)
-
Reporter Name (Type: Text)
-
Process Instance ID (Type: Text)
-
Reporter Relationship (Type: Choice List(Fixed))
-
In List of Values section, create a Lookup Type
REPORTER_RELATIONSHIP
with meaning as Reporter Relationship. -
Add following lookup code values:
-
Meaning: Spouse; Lookup Code: SPOUSE
-
Meaning: Child; Lookup Code: CHILD
-
Meaning: Brother; Lookup Code: BROTHER
-
Meaning: Sister; Lookup Code: SISTER
-
Meaning: Parent; Lookup Code: PARENT
-
Meaning: Other; Lookup Code: OTHER
-
-
-
Corresponding to each of the custom fields, select Searchable and Include in Service Payload check boxes.