Forum Discussion
MOTOROLA_Suppor_1
15 years agoContributor
I find the solution by search the Forum topic:
in 'setup script' once open the outFile, do this:
context.setProperty("myLogFile", outFile)
in event handler:
....
if ( context.myLogFile) {
def f = context.myLogFile;
f.append( req_str)
}
in 'setup script' once open the outFile, do this:
context.setProperty("myLogFile", outFile)
in event handler:
....
if ( context.myLogFile) {
def f = context.myLogFile;
f.append( req_str)
}