<# function eval_sqlstr(str) { var rs, li = 0; str.replace( /<#=(.+?)#__#/mg, function (m, g, i, w) { if (rs) rs += "+"; else rs= ""; rs += "\"" + w.substring(li, i) + "\"+" + g; li = i + g.length + 10; // 10 is the length of "<#=#__#" }); if (!rs) rs = ""; else if (li < str.length) rs += "+"; if (li < str.length) rs += "\"" + str.substring(li) + "\""; java.lang.System.out.println("SQLStr Before eval= " + rs); return eval(rs); } #> {HEAD}

{SERVICENAME}

<# if(Packages.teamworks.CoachDesignerUtils.hasBPDInstance(tw.system.task_id != null ? String(tw.system.task_id) : null)) { #><# if(Packages.teamworks.SecurityUtils.adHocEvent_canRun() && Packages.teamworks.CoachDesignerUtils.hasAdHocEvents(String(tw.system.task_id))) { #> | Actions <# } #><# } #>
{FORM}