The information in this article applies to:
Product: Metastorm BPM (e-Work)
Version: 6.6.x 7.x
Issue
When referencing a non-existent field, the return value for eworkGetField() has changed from e-Work 6.6.x to Metastorm BPM 7.x.
For example, a form contains one field - a text field named Text1. A client script calls eworkGetField("Text2", ""). In version 6.6.x, this returns a value of undefined. In version 7.x, it returns an empty string.
Resolution
- A return value of an empty string is expected behavior for version 7 and later. This applies to all data types accessible with eworkGetField().