Support for Allow offline sync and update activities after overnight in Plugin API
The 26B release of Oracle Fusion Field Service enhances completion flows to support 24/7 operations, including after-hours processing. Many users use custom plugins instead of the standard Complete Activity page to support 24/7 operations in the field. This enhancement enables such users to:
- Finalize in-progress activities after working hours.
- Update activity and inventory fields during the overnight period and the additional hours you configure.
How to Use
The following actions are supported by the Plugin API when the Business Rules setting Allow offline sync and update activities after overnight within the following number of hours is configured.
Activity actions for single and segmentable activities:
- End Activity
- Mark Not Done
- Suspend Activity
When you suspend a single activity, the application creates a Suspended Activity on the route and moves the original activity to the non-scheduled pool with the Pending status.
When you suspend a segment of a multi-day (segmentable) activity, the application creates a Suspended Segment on the route and increases the Time to complete field value for the overall segmentable activity.
Inventory actions for single and segmentable activities:
- Create inventory in the Installed, Deinstalled, or Customer pool
- Delete inventory
- Install inventory
- Deinstall inventory
- Undo Install
- Undo Deinstall
Field updates
You can update activity and inventory fields using the Plugin API within a period of time specified in the Allow offline sync and update activities after overnight within the following number of hours setting on the Business Rules page.
New parameter: updateAllowed
The updateAllowed parameter indicates whether plugins can perform actions on activities or inventories, or update fields. The parameter evaluates whether the time since the activity or inventory action falls within the sum of 24-hour working day, the overnight period, and the additional hours configured in the Business Rules setting Allow offline sync and update activities after overnight within the following number of hours.
If a mobile worker is still within this period of time, then the parameter returns 'true'. Otherwise, the parameter returns false.
Business Benefits
- Supports 24/7 operations by allowing completion of in-progress activities and after-hours field updates.
- Prevents loss of plugin collected data on mobile devices at the end of a mobile worker’s shift.
- Aligns behavior across standard pages, plugins, and the REST API.
Steps to enable and configure
You don't need to do anything to enable this feature.
Tips and considerations
N/A