Class BTBundleCreateFromPartialOperations

All Implemented Interfaces:
Serializable, Tool, ValidExecution

@Event(BundleNotificationEvent.class) public class BTBundleCreateFromPartialOperations extends BTBundler<BundleNotificationEvent>
Business task to create a new bundle from operations with partial outcomes.
When the BundleNotificationEvent is launched with a BundleNotificationAction.HEADER_STATUS_CHANGE action, the BT notices the call and checks if the bundle has been closed. If so, it identifies operations with partial outcomes and creates a new bundle from them if the bundling rule allows automatic bundling of partial operations.
The process follows these steps:
  • Verifies the notification action is a header status change
  • Checks if the bundle status is closed
  • Identifies operations with partial outcomes by examining their intervention outcomes
  • Validates the bundling rule has the "auto bundle partial operations" flag enabled
  • Creates a new bundle using BundlingEvent with the partial operations
Since:
21.0
See Also:
GCApi:
task