Validation Error from an optional field from BW

Validation Error from an optional field from BW

book

Article ID: KB0083988

calendar_today

Updated On:

Products Versions
TIBCO iProcess Technology Plug-ins 11.5.0

Description

User was able to create a case but was receiving a BW validation error on an optional field. This happened when a case was started for the procedure that contained an EAIBW step. The field value returned from TIBCO ActiveMatrix BusinessWorks was 0 instead of Null and was throwing a "not nillable" error.

Error Snippet: The following error was logged by TIBCO ActiveMatrix BusinessWorks process

Output data invalid
    at com.tibco.pe.core.ProcessGroup.a(Unknown Source)
    at com.tibco.pe.core.ProcessGroup.eval(Unknown Source)
    at com.tibco.pe.plugin.Activity.eval(Unknown Source)
    at com.tibco.pe.core.TaskImpl.eval(Unknown Source)
    at com.tibco.pe.core.Job.a(Unknown Source)
    at com.tibco.pe.core.Job.k(Unknown Source)
    at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)
    at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)
caused by: org.xml.sax.SAXException: validation error: #cvc-elt.3.1 Element "{http://kpn.nl/iCAP/schemas/OrderCase/1.0}EVENT_REMARK" is not nillable.   ({com.tibco.xml.validation}COMPLEX_E_ELEMENT_NOT_NILLABLE) at /ns1:INPUT[1]/ns1:EVENT[1]/ns2:EVENT_REMARK[1]
com.tibco.xml.validation.exception.InvalidNilAttributeException: #cvc-elt.3.1 Element "{http://kpn.nl/iCAP/schemas/OrderCase/1.0}EVENT_REMARK" is not nillable.
....
....

Issue/Introduction

TIBCO ActiveMatrix BusinessWorks (BW) throws a validation error on an optional field back to TIBCO iProcess Engine.

Environment

All Supported Environments

Resolution

This is related to defect IPTP-880 "not nillable" validation error in TIBCO ActiveMatrix BusinessWorks iProcess Plug-in which is fixed through Hotfix 03 - TIB_ip-tech-pi_11.5.0_HF-003

Additional Information

TIB_ip-tech-pi_11.5.0_HF-003