OS1 Services
Orchestrator Service
Work Order Manager Plugin
8min
This plugin will interpret the current event and, if required, it will update an existing WorkOrder.
Single leg - Update the work order status based on job updates.
- tenantId
- orderId
- workOrderId
- workOrderPickupLocation
- workOrderDeliveryLocation
- jobStatus
- eventCode
- reasonCode
- location
- callback
- UpdateWorkOrderStateEvent (status = IN_PROGRESS)
- UpdateWorkOrderStateEvent (status = COMPLETED)
- jobStatus == IN_PROGRESS && location == workOrderPickupLocation → UpdateWorkOrderStateEvent (status = IN_PROGRESS)
- jobStatus == COMPLETED && location == workOrderDeliveryLocation && reasonCode == “R-0065” → UpdateWorkOrderStateEvent (status = COMPLETED)
Job Complete Success Rule
Job Complete Failure Rule
Updated 03 Aug 2023
Did this page help you?