Difference between revisions of "Help:Sandbox"

From SDU
Jump to: navigation, search
m (Reverted edits by Drileyusa (Talk); changed back to last version by Gityerfix)
Line 1: Line 1:
// Use 'cr' for Requests, Incidents & Problems, 'chg' for Changes, and 'iss' for Issues
+
try out your code here
cr::zmyscript(...){
+
if(is_null(assignee)){
+
// Use 'int' in place of 'uuid' in the line below if for pre-r11 releases
+
uuid userid;
+
send_wait(0, top_object(), "call_attr", "cr", "current_user_id");
+
userid = msg[0];
+
assignee = userid;
+

Revision as of 19:35, 12 May 2008

try out your code here