...
Code Block |
---|
function spooler_processtask_beforeafter()\{ var order = spooler_task.order; if (spooler_task.exit_code == 0)\{ order.params.valueset_var("suspend","false"); == null) \}else\{ order.params.set_var("suspend","falsetrue"); \} return true; \} |
Then the environment variable will be accessible in your script
...