OU DACS OFSC Admin Data Sync
The Admin Data Sync flow synchronizes the Oracle Utilities Digital Asset Cloud Service admin data that includes work skills, shift types, labor earning types, etc,.
To synchronize data to custom properties in Oracle Field Service:
1. Create the custom property in Oracle Field Service.
2. Clone the Integration and enter the following details:
• Name: OU DACS OFSC Admin Data Sync
• Identifier: OUTL-DACS_OFSC_ADMIN_SYNC_CM
3. Create the scope after the Oracle Utilities Digital Asset Cloud Service invoke activity.
4. Inside the scope, add the Oracle Field Service REST adapter to synchronize the data to the property.
a. Configure the REST adapter.
a. Provide the name of the end point.
b. Configure the relative Resource URI as below:
"/ofscMetadata/v1/properties/{custome_property_label_name}/enumerationList
b. Select “PUT” as the Method.
c. Select the Configure Request Payload and Configure Response Payloads check boxes and click Next.
d. On the Request page, select “JSON” from the Request Payload list. Add the following JSON sample in both request and response payloads.
{
"items" : [ {
"label" : "code1",
"active" : true,
"translations" : [ {
"language" : "en",
"name" : "Code 1"
} ]
}, {
"label" : "code2",
"active" : true,
"translations" : [ {
"language" : "en",
"name" : "Code 2"
}, {
"language" : "fr",
"name" : "Code two"
} ]
} ]
}
5. After the adapter configuration is successful, new mapper is generated.
6. Map the Oracle Utilities Digital Asset Cloud Service code element to the label element in the Oracle Field Service request mapper.
7. Map the Oracle Utilities Digital Asset Cloud Service description element to the name element in the Oracle Field Service request mapper.
8. Map the Oracle Utilities Digital Asset Cloud Service language to the language element in the Oracle Field Service request mapper.
Note: Refer to the existing enum element sync scope for more details. Make sure to add “cm_” as a prefix for the custom element name.