java.lang.Object
overit.geocall.bl.BusinessTask<InterventionOutcomeSaveEvent>
overit.geocallapp.wfm.orchestrator.workorders.bl.outcome.intervention.task.BTInterventionOutcomeSave
All Implemented Interfaces:
Serializable, Tool

Business task in order to save an BOInterventionOutcome.
When the InterventionOutcomeSaveEvent is launched the BT notices the call and saves the BOInterventionOutcome basing on the event's input.
The BOInterventionOutcome saving process divide itself into multiple steps:
  • validation phase using InterventionOutcomeValidateEvent
  • check on the existence of related interventions that are already accounted
  • check on the intervention measures to ensure they are all validated
  • if the intervention is not already closed, it updates also the related appointment, work order operation and work order
  • if the intervention is already closed, only few information are allowed to be updated

Required fields:

  • intervention id
  • outcome origin
  • outcome reason

Error code:

Since:
18.0
See Also:
GCApi:
task