In TIBCO BusinessEvents , System.IO.fileWrite function writes to file only once.

In TIBCO BusinessEvents , System.IO.fileWrite function writes to file only once.

book

Article ID: KB0088734

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
============
In TIBCO BusinessEvents , System.IO.fileWrite function writes to file only once.

Environment:
==========
Operating system: All
TIBCO BusinessEvents (BE) version: 5.0.0

Symptoms:
=========

When using System.IO.fileWrite(fileName,string ,true,false) to write information to file, it will only write to the file once even when calling it multiple times.

Resolution:
==========
When using the function System.IO.fileWrite(fileName,string ,true,true), the engine  writes the data in string  to the specified file. The file is opened / created automatically if necessary. The append and boolean parameter should be set to "true" for the data to be appended to an existing file and for the data be flushed to the file immediately.

Issue/Introduction

In TIBCO BusinessEvents , System.IO.fileWrite function writes to file only once.