If invalid case data is supplied to the startCase method, an exception is thrown, but the case still starts. This behaviour is often unexpected by programmers using the TIBCO Application Programmer Interfaces.

If invalid case data is supplied to the startCase method, an exception is thrown, but the case still starts. This behaviour is often unexpected by programmers using the TIBCO Application Programmer Interfaces.

book

Article ID: KB0088255

calendar_today

Updated On:

Products Versions
TIBCO BPM -
Not Applicable -

Description

Resolution:
Description:
============

Tibco provides a number of Application Programmer Interface(s) to the iProcess Engine, and each of these has a startCase method that allows the programmer to start a case with or without case data. If invalid case data is passed to the startCase method, it will throw an exception, but the case will still start. This behaviour is normal because iPE needs to start the case before any validation can take place. However, if the startCase method is set to automatically release the start step then this will not happen if invalid case data has been supplied.

Environment:
==========
Applies to all environments and hardware.


Symptoms:
=========
The following exception is usually thrown - "109: Invalid data for field type".

Cause:
=====
iPE must start a case before any validation of case data can be performed.

Resolution:
=========
When calling the startCase method with case data, programmers must ensure that the case data passed is of the correct type and format.

Issue/Introduction

If invalid case data is supplied to the startCase method, an exception is thrown, but the case still starts. This behaviour is often unexpected by programmers using the TIBCO Application Programmer Interfaces.