So I'm fairly new to writing scripts from scratch and not just hacking others, and I wanted to be able to print some messages in the log for debugging, and thought it would be really handy to just put something like:
System.log("Workflow: " + currentWorkflow);
System.log("Script: " + currentScript);
Is the current workflow and/or script names available as pre-defined variables already?
Thanks!
Dan