Milestone Delivery

The methods listed below are part of the APIs which support automatic creation of milestone deliveries using the milestone configuration.

Administration configuration allows the user to associate work flow events with a milestone type for the creation and completion of milestone deliveries. When such events are raised, the appropriate event handlers use create or complete milestone delivery APIs.

Table 1. Summary of MilestoneDelivery Methods
Method Description
createMilestoneDelivery This method Creates milestone delivery based on event details. All milestone deliveries created by this method will have 'Created By System' indicator set to true. The earliest start day will be added to the current date to calculate the expected start date of this milestone delivery.
completeMilestoneDelivery This method completes milestone delivery based on event details. If related ID has been passed as a parameter then a search for milestone deliveries is based on the 'Related Id'. Once retrieved these milestone deliveries are completed. If the related id is not passed then a search based on case type, component and the completion event is made. The list of milestone deliveries retrieved are then completed.