Resolve wrong mode returned in documentDelivery response from EngageOne 4.3.1

Product Feature: Web Service (API)



The user has created a delivery option with two delivery channels, one an immediate for pdf, and one a batch for pdf.

If the user requests a document using this delivery option via the deliverDocument service request, two delivery channels are stored in the database. One of them with the mode BATCH, the other with mode IMMEDIATE (see screenshot below) - which is correct:

User-added image

If the user wants to display the modes for the delivery channels handling of the response, the log shows that for both channels the mode is IMMEDIATE (which is incorrect):

11/25/2016 10:19:37 AM : Start Logging
11/25/2016 10:19:37 AM : Input data set, starting processing  - 1028 bytes
11/25/2016 10:19:37 AM : ComposeDocument: Starting basic request
11/25/2016 10:19:39 AM : Delivery 10237 has mode IMMEDIATE
11/25/2016 10:19:39 AM : Delivery 10238 has mode IMMEDIATE


Error introduced by code in 4.3.x where the return type was wrongly set to Immediate even when using batch.


UPDATED: April 11, 2017
Corrected in V4.4 of EngageOne.