Business Flows
The integration scope supports the following business processes:
Mobile Control Data Sync (Oracle Utilities Digital Asset Cloud Service Initiated)
This integration process is used to sync the control data from Oracle Utilities Digital Asset Cloud Service to Oracle Field Service. It also creates the work skill related configurations needed in Oracle Field Service to match activities with resources and for crew tracking. It is run on initial installation or on a need only basis when new control data from Oracle Utilities Digital Asset Cloud Service or work skill related configurations needs to be created or updated in Oracle Field Service.
The following diagram shows a graphical representation of the Mobile Control Data Sync integration process. A graphical representation of Mobile Control Data Sync integration process.
Business Processing
This synchronous integration process includes the following activities:
1. OU DACS OFSC Admin Data Sync deployed on Oracle Integration Cloud is run to retrieve the control data from Oracle Utilities Digital Asset Cloud Service needed in the Oracle Field Service application. This includes codes and descriptions of selected admin entities, characteristic type valid values and extendable lookup values. It also includes craft, equipment and other direct changes, whose resource type is internal, needed to support timesheet and resource usage.
The integration is enhanced to allow skipping the sync for some properties based on the category. Control data from Oracle Utilities Digital Asset Cloud Service have three categories, controlDataEntities, resourceTypes and workClass. The properties controlDataEntities.default and resourceTypes.default in the OUTL-BRT-DACS_OFSC_ConfigProps lookup can be used to control this sync based on the flag value. By default, this is set to “yes”. WorkClass will always be synchronized to Oracle Field Service application.
Equipment work skill creation is optional. It is controlled by property createEquipmentWorkSkills.flag in the OUTL-BRT-DACS_OFSC_ConfigProps lookup. By default, this is set to “no”.
Note: Once a resource is created in Oracle Utilities Digital Asset Cloud Service, the resource code (craft code, equipment code and other resource code) cannot be changed. This sync integration process uses the resource codes to create the enumeration values for equipment, craft and other resource property in Oracle Field Service. Slash (/) also cannot be part of the resource code.
2. Run this integration sync process manually from Oracle Integration Cloud by scheduling the integration process to run on a scheduled date or selecting Submit Now from the menu of the activated sync integration process to initiate an instance of the integration. An optional language parameter can be entered to determine the description to retrieve from Oracle Utilities Digital Asset Cloud Service and to know in which language code the property name should be created in Oracle Field Service. The language parameter entered should be an ISO 2 letter language code; if the language parameter is not populated or blank, it is defaulted to English (en).
3. It populates the enumeration values for the following Oracle Field Service properties if the integration properties specified below are set to 'yes'.
Property in OUTL-BRT-DACS_OFSC_ConfigProps Lookup
OFS Properties
controlDataEntities.default = 'yes'
Crew Shift Types
Downtime Reason
Labor Earning Type
Material Unit of Measure
Measurement Meter Reason
Measurement Gauge Reason
Overtime Type
Resource Unit of Measure
Stock Item Category
Pickup Work Category
Pickup Location Type
Pickup Work Type
Pickup Work Priority
resourceTypes.default = 'yes'
Craft
Equipment Type
Other Resource Type
Note: These are always synchronized to Oracle Field Service.
Pickup Work Class
Activity Type To PSH
manufacture.default='yes'
Manufacture Details
Model Details
The enumeration values are obtained from the corresponding Oracle Utilities Digital Asset Cloud Service admin information.
OFS Property Label
Synchronized DACS Information
dacs_other_resource_type
Other Resource
dacs_overtime_type
Overtime Type
dacs_pickup_location_type
Pickup Location Type
dacs_resource_uom
Unit of Measure-Resource
dacs_work_category
Pickup Work Category
dacs_work_class
Pickup Work Class
dacs_work_priority
Pickup Work Priority
dacs_work_type
Pickup Work Type
dacs_actType_psh
Activity Type To PSH
dacs_craft
Activity Type To PSH
dacs_crew_shift_type
Crew Shift Type
dacs_downtime_reason
Downtime Reason
dacs_equipment_type
Equipment
dacs_labor_earning_type
Labor Earning Type
dacs_material_stockitemCategory
Stock Item Category
dacs_material_uom
Material Unit of Measure
dacs_measurement_gauge_reason
Measurement Gauge Reason
dacs_measurement_meter_reason
Measurement Meter Reason
dacs_manufacturerList
Manufacturer Details
dacs_modelList
Model Details
dacs_map_modelCode_manfCode
Relation between Manufacturer and Model
Note: If admin data is deleted in Oracle Utilities Digital Asset Cloud Service, the enumeration value will not be deleted in Oracle Field Service. The synchronous integration process cannot delete enumeration values added to a property in Oracle Field Service; the OFSC REST API that updates the enumeration values of a property does not allow it. The only way to delete an enumeration value(s) in a property is by deleting the property, recreating the property, and run the sync to get the latest values.
4. If Property resourceTypes.default in the OUTL-BRT-DACS_OFSC_ConfigProps lookup is set to 'yes', it creates a work skill and work skill property for each craft retrieved from Oracle Utilities Digital Asset Cloud Service.
The label format for Work Skill created in Oracle Field Service is:
W_ + DACS craftcode
Example: Label is W_Carpenter
The label format for Work Skill property created in Oracle Field Service is:
W_ + DACS craftcode + _Nd
Example: Work Skill Property Label is W_Carpenter_Nd
The name format for Work Skill property created in Oracle Field Service is:
DACS Craft Code Description + value of property workSkillProperty.nameSuffix.default from the OUTL-BRT-DACS_OFSC_ConfigProps lookup.
Example: DACS Craft Code description is Carpenter. workSkillProperty.nameSuffix.default value is needed. Work Skill Property Name is Carpenter Needed.
5. It also creates the work skill conditions based on the craft and the property value of workSkillCond.actvtySameSkillMaxWorker.default from the OUTL-BRT-DACS_OFSC_ConfigProps lookup.
In this example: For work skill = Carpenter and workSkillCond.actvtySameSkillMaxWorker.default = 3, there will be 3 work skill conditions created.
Work skill name: Carpenter, Required level: 1; Preferable level: 1; Condition: carpenters_needed In 1
Work skill name: Carpenter, Required level: 2; Preferable level: 2; Condition: carpenters_needed In 2
Work skill name: Carpenter, Required level: 3; Preferable level: 3; Condition: carpenters_needed In 3
6. If Properties resourceTypes.default and createEquipmentWorkSkills.flag in the OUTL-BRT-DACS_OFSC_ConfigProps lookup are set to 'yes', it creates a work skill and work skill property for each equipment retrieved from Oracle Utilities Digital Asset Cloud Service.
The label format for Work Skill created in Oracle Field Service is:
WE_ + DACS equipmentcode
Example: Label is WE_Backhoe
The label format for Work Skill property created in Oracle Field Service is:
WE_ + DACS equipmentcode + _Nd
Example: Work Skill Property Label is WE_Backhoe_Nd
The name format for Work Skill property created in Oracle Field Service is:
DACS Equipment Code Description + value of property workSkillProperty.nameSuffix.default from the OUTL-BRT-DACS_OFSC_ConfigProps lookup.
Example: DACS Equipment Code description is Backhoe. workSkillProperty.nameSuffix.default value is ‘Needed’. Work Skill Property Name is ‘Backhoe Needed’.
7. It also creates work skill conditions based on the equipment and property value of workSkillCond.actvtyMaxEquipment.default from DACSOFSC_ConfigProps lookup.
In this example: For work skill = Backhoe and workSkillCond.actvtyMaxEquipment.default = 3, there will be 3 work skill conditions created.
Work skill name: Backhoe, Required level: 1; Preferable level: 1; Condition: backhoe_needed In 1
Work skill name: Backhoe, Required level: 2; Preferable level: 2; Condition: backhoe_needed In 2
Work skill name: Backhoe, Required level: 3; Preferable level: 3; Condition: backhoe_needed In 3
8. It also synchronizes the activity types from Oracle Utilities Digital Asset Cloud Service to Oracle Field Service. Activity types define the categories of the activity supported by Oracle Field Service (in this case, Oracle Utilities Digital Asset Cloud Service integration to Oracle Field Service). If an Activity Type already exists in Oracle Field Service, it is skipped from synchronizing to avoid overriding of the Activity Type settings in Oracle Field Service.
9. Device Manufacturer details are also synchronized as part of this flow. In Oracle Field Service, dacs_manufacturerList holds the list of the Manufacturer, dacs_modelList holds the list of Model, and dacs_map_modelCode_manfCode holds the relationship between Manufacturer and it is Model.
10. If a technical fault is encountered, when Oracle Utilities Digital Asset Cloud Service or Oracle Field Service is down, it will stop the process and send an optional email notification with error details to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup.
11. If any error occurs in the flow when creating or update the record(s) in Oracle Field Service, it will continue the process and send an email notification to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup of what record was not created/updated.
12. Email notification is optional. Configure the property name email.flag in the OUTL-BRT-DACS_OFSC_ConfigProps lookup to true to receive email notification when errors are encountered.
Technical Details
The following table describes the integration processes and the respective Oracle Utilities Digital Asset Cloud Service and Oracle Field Service artifacts used in this integration process.
Artifacts
Value
Integration Process Name
OU DACS OFSCAdminData Sync
Integration Package Name
outl.ba.dacs_.ofsc.01_23_3000.par
OFSC REST URI
To update or replace enumeration values for a property:
Method: PUT
URI: /rest/ofscMetadata/v1/properties/{label}/enumerationList
 
To create or replace a WorkSkill:
Method: PUT
URI: /rest/ofscMetadata/v1/workSkills/{label}
 
To create or replace a property for WorkSkill:
Method: PUT
URI: /rest/ofscMetadata/v1/properties/{label}
 
To replace WorkSkill conditions:
Method: PUT
URI: /rest/ofscMetadata/v1/workSkillConditions
 
To create Activity Type:
Method: PUT
URI:/rest/ofscMetadata/v1/activityTypes/{activityType}
 
To retrieve a Activity Type Group:
Method: GET
URI:/rest/ofscMetadata/v1/activityTypeGroups/{label}
 
To create or replace a property for Manufacturer:
Method: PUT
URI: /rest/ofscMetadata/v1/properties/ dacs_manufacturerList/enumeretionList
 
To create or replace a property for Model:
Method: PUT
URI: /rest/ofscMetadata/v1/properties/ dacs_modelList /enumeretionList
 
To create or replace a property for Map between Manufacture and Model :
Method: PUT
URI: /rest/ofscMetadata/v1/properties/ dacs_map_modelCode_manfCode/enumeretionList
DACS SOAP IWS
W1-ExtMobileControlData
 
W1-ExtMobileActivityTypes
X1-ExtMobileControlData
Process Activity (Oracle Utilities Digital Asset Cloud Service Initiated)
This integration process is used to accept request from Oracle Utilities Digital Asset Cloud Service to create, update, or cancel activities in Oracle Field Service. The activity details message also include the list of issued assets if any. The information is sent synchronously from Oracle Utilities Digital Asset Cloud Service, regardless of the activity type, and Oracle Field Service sends back a response.
The following diagram shows a graphical representation of the Process Activity integration process.A graphical representation of the Process Activity integration process.
Business Processing
The integration process includes the following activities:
1. Oracle Utilities Digital Asset Cloud Service sends the create/update/cancel activity request to the OU DACS OFSC Activity Process integration process deployed on Oracle Integration Cloud.
2. If Oracle Utilities Digital Asset Cloud Service sends create or update activity request and the attachments are validated, the OU DACS OFSC Activity Process transforms the request message from Oracle Utilities Digital Asset Cloud Service to the request message format in Oracle Field Service and invokes bulkUpdate API.
3. Oracle Field Service sends the success or failure response to the integration.
4. If the activity creation is successful in Oracle Field Service, the activity dependencies for the new activity are checked. If there are no predecessor activities, the integration process does the following:
a. Transforms the attachments data from Oracle Utilities Digital Asset Cloud Service (if any) and invokes “Set File Property” OFSC REST API.
b. Transforms the labor data from Oracle Utilities Digital Asset Cloud Service (if any) and invokes “Update activity” OFSC REST API.
5. Transforms and sends the success/failure response from Oracle Field Service to Oracle Utilities Digital Asset Cloud Service.
6. If Oracle Utilities Digital Asset Cloud Service sends the cancel activity request, the OU DACS OFSC Activity Process transforms the request message from Oracle Utilities Digital Asset Cloud Service to the request message format in Oracle Field Service and invokes bulkUpdate API.
7. Oracle Field Service sends the success or failure response to the integration transformed and sent to Oracle Utilities Digital Asset Cloud Service.
8. Any errors are reported back to Oracle Utilities Digital Asset Cloud Service through the global fault handler.
9. An optional email notification with error details is sent to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup.
10. Email notification is optional. Configure the property name email.flag in the OUTL-BRT-DACS_OFSC_ConfigProps lookup to true to receive email notification when errors are encountered.
Technical Details
The following table describes the integration processes and the respective Oracle Utilities Digital Asset Cloud Service and Oracle Field Service artifacts used in this integration process.
Artifacts
Value
Integration Process Name
OU DACS OFSC Activity Process
Integration Package Name
outl.ba.dacs_ofsc.01_23_3000.par
OFSC BO/Operation
Activity / Bulk Update Activity
Activity / Set File Property
Activity / Update activity
OFSC API
bulkUpdate
DACS BO
W1-WOActivityActiveOutboundMsg
Activity Completion (Oracle Field Service Initiated)
This integration process is used to send the field activity completion and material usage details from Oracle Field Service to Oracle Utilities Digital Asset Cloud Service. Oracle Field Service sends the activity completion details, material usage details along with the completion status, to complete the activity in Oracle Utilities Digital Asset Cloud Service.
The following diagram shows a graphical representation of the Activity Completion integration process: A graphical representation of the Activity Completion integration process.
Business Processing
The integration process includes the following activities:
1. Oracle Field Service sends the activity completion and material usage details to the Oracle Utilities OFSC DACS Activity Complete integration process deployed on Oracle Integration Cloud, when the “Activity Completed” event occurs.
2. The Oracle Utilities OFSC DACS Activity Complete process transforms the completion event data and get the activity and material usage details from Oracle Field Service by invoking the getActivity API.
3. The integration process gets the asset/inventory details from a file property by invoking the getActivityFileProperty Oracle Field Service API, also gets the service history attachment(s) data if any by invoking the same Oracle Field Service API.
4. The integration process transforms the activity completion message from Oracle Field Service to the message format in Oracle Utilities Digital Asset Cloud Service and invokes the W1-MblActCom inbound web service.
5. The integration process transforms the activity material usage message from Oracle Field Service to the message format in Oracle Utilities Digital Asset Cloud Service and invokes the W1-ActivityMaterialUsage inbound web service.
6. Any errors are captured through the global fault handler.
7. An optional email notification with error details are sent to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup.
8. Email notification is optional. Configure the property name email.flag in the OUTL-BRT-DACS_OFSC_ConfigProps lookup to true to receive email notification when errors are encountered.
Technical Details
The following table describes the integration processes and the respective Oracle Utilities Digital Asset Cloud Service and Oracle Field Service artifacts used in this integration process.
Artifacts
Value
Integration Process Name
OU OFSC DACS Activity Complete
Integration Package Name
outl.ba.dacs_ofsc.01_23_3000.par
OFSC Event
Activity/Activity Completed
OFSC BO/Operation
Activity/Get Activity
OFSC API
getFileProperty
DACS IWS
X1-MblActCom
W1-ActivityMaterialUsage
Resource Usage (Oracle Field Service Initiated)
This integration process is used to send the resource usage details from Oracle Field Service to Oracle Utilities Digital Asset Cloud Service. Oracle Field Service sends the details either before the completion or after the completion of the activity.
The following diagram shows a graphical representation of the Resource Usage integration process. A graphical representation of the Resource Usage integration process
Business Processing
The integration process includes the following activities:
1. Oracle Field Service sends the resource usage details that can include either the individual time sheet or crew time sheets by supervisor or equipment usage or other equipment usage to the OU OFSC DACS Resource Usage Details integration process deployed on Oracle Integration Cloud.
2. The OU OFSC DACS Resource Usage Details process transforms the message from Oracle Field Service to the message format in Oracle Utilities Digital Asset Cloud Service and invokes the W1-IntTMSDtl inbound web service if its individual time sheet or crew time usage submitted by supervisor or invokes the W1-IntODCDtl inbound web service if its equipment usage or other equipment usage information.
3. Any errors are captured through the global fault handler.
4. An optional email notification with error details are sent to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup.
5. Email notification is optional. Configure the property name email.flag in the OUTL-BRT-DACS_OFSC_ConfigProps lookup to true to receive email notification when errors are generated.
Technical Details
The following table describes the integration processes and the respective Oracle Utilities Digital Asset Cloud Service and Oracle Field Service artifacts used in this integration process.
Artifacts
Value
Integration Process Name
OU OFSC DACS Resource Usage Details Integration
Integration Package Name
outl.ba.dacs_ofsc.01_23_3000.par
OFSC Entity
Custom Plugin : Resource Usage
DACS SOAP IWS
W1-IntTMSDtl
W1-IntODCDtl
Interim Status Updates (Oracle Field Service Initiated)
This integration process is used to send the interim status details of the Work Activity from Oracle Field Service to Oracle Utilities Digital Asset Cloud Service. Oracle Field Service sends the details before the completion of the activity.
The following diagram shows a graphical representation of the Interim Status Updates integration process. A graphical representation of the Resource Usage integration process
Business Processing
The integration process includes the following activities:
1. Oracle Field Service sends the interim activity status to the OU OFSC DACS Activity Interim Status integration process deployed on Oracle Integration Cloud.
2. Any errors are caught in the global fault handler.
3. An optional email notification with error details are sent to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup.
Technical Details
The following table describes the integration processes and the respective Oracle Utilities Digital Asset Cloud Service and Oracle Field Service artifacts used in this integration process.
Artifacts
Value
Integration Process Name
OU OFSC DACS Activity Interim Status
Integration Package Name
outl.ba.dacs_.ofsc.01_23_3000.par
OFS Events
Activity Started
Activity Suspended
DACS SOAP IWS
W1-UpdateActivityStatus
Asset Installs and Removals (Oracle Field Service Initiated)
This integration process is used to perform various operations from Oracle Field Service to Oracle Utilities Digital Asset Cloud Service. Oracle Field Service sends the details either before the completion or after the completion of the activity.
These operations can be performed on Assets and Components using the Asset Query Integration flow.
Install Asset
Attach Component
Replace Asset
Replace Component
The following diagram shows a graphical representation of the Asset Installs and Removals integration process. A graphical representation of the Resource Usage integration process
The following operations can be performed on Assets and Components from Oracle Field Service, independent of the Asset Query Integration process.
Asset Removal
Asset Out of Service
Component removal
Undo Install
Undo Remove
Undo Attach
Undo Replace
Back to Service
Business Processing
The integration process includes the following activities:
1. For Install Asset, Attach Component, and Replace operations, Oracle Field Service sends the Asset Query details which include Asset ID, Serial Number, and location ID to the OU OFSC DACS Asset Query integration process deployed on Oracle Integration Cloud.
2. The OU OFSC DACS Asset Query process transforms the message from Oracle Field Service to the message format in Oracle Utilities Digital Asset Cloud Service and invokes the W1GAstDtlBNo inbound web service.
3. Oracle Utilities Digital Asset Cloud Service responds with all the asset details if the call is successful. Else, it responds with an error message. If the response succeeds, the installed asset/attached component moves to the installed pool. When an asset or component is replaced, the replaced asset or component moves to the deinstalled pool.
4. ‘Remove’ and ‘Out of Service’ operations are directly performed in Oracle Field Service. After performing these operations, the asset moves to deinstalled pool.
5. Every operation on the Asset or Component can be undone using their corresponding Undo operations.
6. The data about the performed operations is sent from Oracle Field Service to Oracle Utilities Digital Asset Cloud Service after activity completion.
7. Any errors are captured through the global fault handler.
8. An optional email notification with error details are sent to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup.
9. Email notification is optional. Configure the property name email.flag in the OUTL-BRT-DACS_OFSC_ConfigProps lookup to true to receive email notification when errors are generated.
Technical Details
The following table describes the integration processes and the respective Oracle Utilities Digital Asset Cloud Service and Oracle Field Service artifacts used in this integration process.
Artifacts
Value
Integration Process Name
OU OFSC DACS Asset Query Integration
Integration Package Name
outl.ba.dacs_ofsc.01_23_3000.par
OFSC Entity
Custom Plugin: Asset Component Install Exchange Undo
DACS SOAP IWS
W1GAstDtlBNo
Truck Storeroom Admin Sync (Oracle Utilities Digital Asset Cloud Service Initiated)
This integration process is used to sync storeroom data from Oracle Utilities Digital Asset Cloud Service to Oracle Field Service where the storeroom type is Truck. Oracle Utilities Digital Asset Cloud Service will send only the active storerooms data at this time.
The following diagram shows a graphical representation of the Storeroom admin sync integration process. A graphical representation of the Resource Usage integration process
Business Processing
The integration process includes the following activities:
1. OU DACS OFSC Storeroom Admin Sync deployed on Oracle Integration Cloud is run to retrieve the active truck storeroom data from Oracle Utilities Digital Asset Cloud Service and send it to Oracle Field Service.
2. Run this integration process manually from Oracle Integration Cloud by scheduling the integration process to run on a scheduled date or clicking Submit Now from the menu of the activated sync integration process to initiate an instance of the integration. An optional language parameter can be entered to determine the description to retrieve from Oracle Utilities Digital Asset Cloud Service and to know in which language code the property name should be created in Oracle Field Service. The language parameter entered should be an ISO 2 letter language code; if the language parameter is not populated or blank, it is defaulted to English (en).
3. The integration process invokes the Oracle Utilities Digital Asset Cloud Service Synchronize Mobile Storeroom Details service to get the list of storerooms.
4. The integration process invokes Resource OFSC BO to get the list of existing resources for a specific bucket.
5. For each storeroom from the storeroom list returned by Oracle Utilities Digital Asset Cloud Service, filter only storerooms of TRUCK type and compare each storeroom with the list of existing resources from Oracle Field Service.
a. If the resource from the list in Oracle Field Service does not exist in Oracle Utilities Digital Asset Cloud Service storeroom list, update the resource status as 'inactive' and send it to Oracle Field Service.
b. If the resource from the list in Oracle Field Service exists in Oracle Utilities Digital Asset Cloud Service storeroom list, update the corresponding data in Oracle Field Service.
c. If the storeroom from Oracle Utilities Digital Asset Cloud Service does not exist in Oracle Field Service, create a new record in Oracle Field Service.
d. Invoke Resource OFSC BO to update the resource details in Oracle Field Service.
6. Any errors are captured through global fault handler.
7. An optional email notification with error details are sent to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup.
8. Email notification is optional. Configure the property name email.flag in the OUTL-BRT-DACS_OFSC_ConfigProps lookup to true to receive email notification when errors are encountered.
Technical Details
The following table describes the integration processes and the respective Oracle Utilities Digital Asset Cloud Service and Oracle Field Service artifacts used in this integration process.
Artifacts
Value
Integration Process Name
OU DACS OFSC Storeroom Admin Sync
Integration Package Name
outl.ba.dacs_ofsc.01_23_3000.par
OFSC BO/Operation
Resource/Get Resource Descendants
Resource/Update Resource
DACS SOAP IWS
W1-SynchronizeMobileStoreroomDetails
Truck Storeroom Inventory Snapshot Synchronization/Update (Oracle Field Service Initiated)
This integration process is used to synchronize inventory of each storeroom in Oracle Utilities Digital Asset Cloud Service to Oracle Field Service. The truck storeroom inventory can be synchronized in multiple ways:
Option 1: Storeroom Synchronization on Route Activation
On route activation of a crew or an individual, check if there are any trucks associated with that crew or an individual. Then, synchronize the initial storeroom inventory.
The following Oracle Integration Cloud integration processes are involved to achieve this functionality:
OU OFSC DACS Route Activation
The following diagram shows a graphical representation of the OU OFSC DACS Route Activation integration process. A graphical representation of the Resource Usage integration process
Business Processing
The integration process includes the following activities:
1. Oracle Field Service invokes OU OFSC DACS Route Activation process deployed on Oracle Integration Cloud when the “Route Activated” business event occurs (when a crew or an individual's route is activated in Oracle Field Service).
2. Integration process invokes “Resource Types” OFSC REST endpoint to get the resource type using REST Adapter.
3. If resource type is CR (Crew) or PR (Person), invoke OFSC “Resource” business object to get more details about the resource using Oracle Field Service adapter.
4. Invoke “Activity” OFSC business object to get all activities and check if this is a teamResourceId using the Oracle Field Service adapter. If the response is not empty, form a list of allresourceIds.
5. For each unique resourceId from the above list, invoke the “Resource” OFSC business object to get the resource information.
a. If resource type is 'TR' and resource source is 'DACSTR' invoke OU OFSC DACS Storeroom Sync integration process with input parameters resourceId, resourceType and lastSyncDateTime as empty.
6. Else, process the next resource.
7. Any errors are captured through global fault handler.
8. An optional email notification with error details are sent to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup.
9. Email notification is optional. Configure the property name email.flag in the OUTL-BRT-DACS_OFSC_ConfigProps lookup to true to receive email notification when errors are encountered.
Technical Details
The following table describes the integration processes and the respective Oracle Utilities Digital Asset Cloud Service and Oracle Field Service artifacts used in this integration process.
Artifacts
Value
Integration Process Name
OU OFSC DACS Route Activation
Integration Package Name
outl.ba.dacs_ofsc.01_23_3000.par
OFSC BO/ Operation
Resource/Get Resource
Activity/Get Activities
OFSC REST URI
URI: /rest/ofscMetadata/v1/resourceTypes
Method: GET
Target OIC integration process name
OU OFSC DACS Storeroom Sync
OU OFSC DACS Storeroom Sync
The following diagram shows a graphical representation of the OU OFSC DACS Storeroom Sync integration process.A graphical representation of the Resource Usage integration process
Business Processing
The integration process includes the following activities:
1. OU OFSC DACS Storeroom Sync integration process is invoked by another integration process and it takes these three input parameters: resourceId, resourceType and lastSyncDateTime.
2. If the resource type is 'TR' invoke W1-MobileStoreroomInventory DACS IWS to get the details of the resource using Oracle Utilities adapter.
3. If lastSyncDateTime is empty:
a. Transform the data from Oracle Utilities Digital Asset Cloud Service to Oracle Field Service format.
b. Invoke “bulkUpdateInventories” OFSC REST API to sync the truck storeroom inventory.
Note: If lastSyncDateTime is empty, initial sync.
4. If lastSyncDateTime is not empty:
a. Invoke “Resource” OFSC business object to get resource inventory of a particular resourceId using the Oracle Field Service adapter.
b. For each inventory entry from Oracle Utilities Digital Asset Cloud Service, check if the inventory exists in the list returned from Oracle Field Service in the above call.
a. If it exists in the list, then get the quantity retrieved from Oracle Field Service for this inventory and add or remove the quantity from Oracle Utilities Digital Asset Cloud Service and create a new entry for the new request to be made to Oracle Field Service bulkUpdateInventories.
b. If it does not exist in the list, add it to bulkUpdateInventories.
c. Invoke bulkUpdateInventories OFSC REST API with the new bulkUpdateInventory.
d. Invoke Resource OFSC BO for the resource merging existing inventory details with latest from Oracle Utilities Digital Asset Cloud Service.
5. Any errors are captured through global fault handler.
6. An optional email notification with error details are sent to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup.
7. Email notification is optional. Configure the property name email.flag in the OUTL-BRT-DACS_OFSC_ConfigProps lookup to true to receive email notification when errors are encountered.
Technical Details
The following table describes the integration processes and the respective Oracle Utilities Digital Asset Cloud Service and Oracle Field Service artifacts used in this integration process.
Artifacts
Value
Integration Process Name
OU OFSC DACS Storeroom Sync
Integration Package Name
outl.ba.dacs_ofsc.01_23_3000.par
OFSC BO/Operation
Resource /Update Resource
OFSC REST URI
URI: /rest/ofscCore/v1/resources/custom-actions/bulkUpdateInventories
Method: POST
DACS SOAP IWS
W1-MobileStoreroomInventory
Option 2: Scheduled Storeroom Sync
Batch scheduled from Oracle Integration Cloud to run at a specific time of day/week/month to run snapshot sync of all trucks synced between Oracle Utilities Digital Asset Cloud Service and Oracle Field Service.
The following Oracle Integration Cloud integration processes are involved to achieve this functionality:
OU DACS OFSC Schedule Storeroom Sync
The following diagram shows a graphical representation of the OU DACS OFSC Schedule Storeroom Sync integration process.A graphical representation of the Resource Usage integration process
Business Processing
The integration process includes the following activities:
1. OU DACS OFSC Schedule Storeroom Sync is a batch process deployed on Oracle Integration Cloud and scheduled to run on a regular basis or as needed basis or turned off.
2. Integration process invokes Oracle Field Service to get the list of resources that are descendants of the respective Oracle Field Service bucket configured in the system.
3. For each descendant check the resource type of “TR” and “dacs_resource_source”: “DACSTR”.
4. If the ‘resourcetype’ is truck, invoke OU OFSC DACS Storeroom Sync OIC integration process with the resourceId, resourceType and lastUpdatedDateTime as empty as input parameters.
5. Any errors are captured through global fault handler.
6. An optional email notification with error details are sent to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup.
7. Email notification is optional. Configure the email.flag property name in the OUTL-BRT-DACS_OFSC_ConfigProps lookup to ‘true’ to receive email notification when errors are encountered.
Technical Details
The following table describes the integration processes and the respective Oracle Utilities Digital Asset Cloud Service and Oracle Field Service artifacts used in this integration process.
Artifacts
Value
Integration Process Name
OU DACS OFSC Schedule Storeroom Sync
Integration Package Name
outl.ba.dacs_ofsc.01_23_3000.par
OFSC REST URI
URI: /rest/ofscCore/v1/resources/OHMeter/descendants
Method: GET
Target OIC integration process name
OU OFSC DACS Storeroom Sync
OU OFSC DACS Storeroom Sync
For information about OU OFSC DACS Storeroom Sync integration process, see the OU OFSC DACS Storeroom Sync section.
Activity Pull Update (Oracle Field Service Initiated)
This integration process can be initiated by the crew from Oracle Field Service to pull the latest activity details including issued assets for which a material request was issued on the activity in Oracle Utilities Digital Asset Cloud Service.
The following diagram shows a graphical representation of the Activity Pull Update integration process. A graphical representation of the Activity Pull Update integration process
Business Processing
The integration process includes the following activities:
1. OU OFSC DACS Activity Pull Update is an event based process deployed on Oracle Integration Cloud.
2. Oracle Field Service fetches the work activity details using “Get activity” OFSC BO. Transforms the request message from Oracle Field Service Cloud to request message for Oracle Utilities Digital Asset Cloud Service and invokes the W1- WOActivityDetails inbound web service.
3. Transform the response from Oracle Utilities Digital Asset Cloud Service to request message for Oracle Field Service and invoke “Bulk Update Activity” OFSC BO.
4. Any errors are captured through the global fault handler.
5. An optional email notification with error details are sent to the users configured in the OUTL-BRT-DACS_OFSC_Email_ID lookup.
6. Email notification is optional. Configure the email.flag property name in the OUTL-BRT-DACS_OFSC_ConfigProps lookup to ‘true’ to receive an email notification when errors are generated.
Technical Details
The following table describes the integration processes and the respective Oracle Utilities Digital Asset Cloud Service and Oracle Field Service artifacts used in this integration process.
Artifacts
Value
Integration Process Name
OU OFSC DACS Activity Pull Update
Integration Package Name
outl.ba.dacs_ofsc.01_23_3000.par
OFS BO/Operation
Activity/Get Activity
Activity/Bulk Update Activity
DACS SOAP IWS
W1-WOActivityDetails