Update SmartPost recipient message log with current shipment state
Namespace: Scanjour.Workflow4.ActivityLibrary
Assembly: Scanjour.Workflow4.ActivityLibrary_23.1.0.0 (in Scanjour.Workflow4.ActivityLibrary_23.1.0.0.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax
public static void UpdateRecipientInLog( ODataService ctx, string instanceId, string recordId, string dispatcherId, string externalMessageId, MessageShipmentProcessState state, string errorMessage = null, bool massDispatchLog = false )
Parameters
- ctx
- Type: ODataService
OData context - instanceId
- Type: SystemString
Workflow instance id - recordId
- Type: SystemString
Record id of message document - dispatcherId
- Type: SystemString
Dispatcher identifier - externalMessageId
- Type: SystemString
External system message iddentifier - state
- Type: WorkZone.Dispatcher.Base.MessagesMessageShipmentProcessState
State to set - errorMessage (Optional)
- Type: SystemString
Optional error message - massDispatchLog (Optional)
- Type: SystemBoolean
true if mass shipment is performed.
See Also