Write Variable Values and Progress Updates from the Script to the BPM Log File

A facility for writing messages from scripts to the server called the BPM Log file is provided.

For example, the following can be done from a script:

Log.write("New Customer Process, Customer: '"+cust.name + "' added");

This generates a message like the following in the BPM Log file, which can be found by searching for the text stdout - or part of the message, for example, New Customer Process.

11 Feb 2011 09:42:06,529 [PVM:Persistent STWorkProcessor:5] [INFO ] stdout - New Customer Process, Customer: Fred Blogs added

See Examine the Server Logs for the location of the log.

However, this function is only useful if you have access to the BPM Log file which is stored on the server.