Difference between revisions of "Help:Sandbox"

From SDU
Jump to: navigation, search
m (Replacing page with 'try out your code here')
Line 1: Line 1:
try out your code here
+
// Use 'cr' for Requests, Incidents & Problems, 'chg' for Changes, and 'iss' for Issues
 +
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 20:59, 21 April 2008

// Use 'cr' for Requests, Incidents & Problems, 'chg' for Changes, and 'iss' for Issues 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;