Hi Ken,
the 50000 lines limit is a limit for executed lines per script. Every script in a playbook/workflow has its own separate 50000 lines limit.
E.g. this script
for i in range(5):
log.debug("hello")
consumes 11 lines.
Lines of code executed in a third party library are excluded. json.dumps(incident) only consumes one line of code rather than all the lines executed within json.dumps.
The number of lines that had been executed in a script are logged to resilient-scripting.log, e.g. for the above script you would see an entry like this:
09:42:59.317 [LogReaderThread for qtp-1003469119-88] INFO v=unknown c.r.s.cpython.process.CPythonProcess - pid 44364: ScriptRunner - Finished running script. 11 script lines executed in 0.041656 seconds.
Hope this helps
Bastian
------------------------------
Bastian Graebener
------------------------------