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("The deadline for the task is " + data.deadline);
|
This generates a message like the following in the BPM Log file, which can be found by searching for the part of the message.
Thu Jul 01 12:11:24 GMT+000 2021 Loading Script Engine Module 11.0.0.046.ACE20201105_2000/2.5.1 initialize took 86 The deadline for the task is Sun Jul 11 2021 12:11:24 GMT+0000 (GMT) |
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.