Difference between revisions of "Help:Sandbox"
(→code) |
|||
| Line 48: | Line 48: | ||
== code == | == code == | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 15:10, 11 February 2008
Feel free to try out the wiki syntax in this page.
<rss desc=off>http://www.servicedeskusers.com/forum/index.php?act=rssout&id=8</rss>
This is an example of the workflow to obtain the group members from Servicedesk. Follow the directions exactly
<source lang=xml> </topointnormal>
<topointswimlane>-1</topointswimlane> <to>1170219743489</to> <sequence>-1</sequence> <label /> <description /> >-16777216</lineColor> </transition> </transitions> </duedateprocessing> <preprocessing /> <postprocessing /> <executioncontexts /> <exceptionhandlers /> </subactivity> </nodes>
- <transitions> - <transition id="1164858697231">
<from>1509732671450107440</from> <frompointnormal>-1</frompointnormal> <frompointswimlane>-1</frompointswimlane> <topointnormal>-1</topointnormal> <topointswimlane>-1</topointswimlane> <to>1164858205749</to> <sequence>-1</sequence> <label /> <description /> <done>N</done> <condition /> <lineWidth>1</lineWidth> <lineColor>-16777216</lineColor> </transition> </transitions> </process> </processes> </processdefinition>
</source>
code
<source lang="text">TABLE Spell_Macro del description fragment lock_object ob_type sym type usr_integer1 usr_integer2 usr_integer3 usr_string2 usr_string3 usr_string4
{ "0" ,"add an activty log listed in the event's \"Text Field\" to the change order", "// add an activity log. Requires the macro be locked.\\0012int log_userid;\\0012log_userid = (uuid)"793ED69B4E87A545BD8E911834D829FC";\\0012 \\0012// get info from event to store in log description\\0012 \\0012string log;\\0012log = expand(event_tmpl.user_smag);\\0012 \\0012send_wait(0, this, \"log_event\", group_leader, log_userid, log);\\0012if (msg_error()) {\\0012 logf(ERROR, format(\"Macro event error '%s'\", msg[0]));\\0012}", "0" ,"chg" ,"Add a Custom CHG Activity Log" ,"ACT", "" ,"" ,"" ,"" ,"" ,"" } { "0" ,"add an activty log listed in the event's \"Text Field\" to the request", "// add an activity log. Requires the macro be locked.\\0012int log_userid;\\0012log_userid = (uuid)"793ED69B4E87A545BD8E911834D829FC";\\0012 \\0012// get info from event to store in log description\\0012 \\0012string log;\\0012log = expand(event_tmpl.user_smag);\\0012 \\0012send_wait(0, this, \"log_event\", group_leader, log_userid, log);\\0012if (msg_error()) {\\0012 logf(ERROR, format(\"Macro event error '%s'\", msg[0]));\\0012}", "0" ,"cr" ,"Add a Custom Activity Log" ,"ACT", "" ,"" ,"" ,"" ,"" ,"" }</source>
<source lang="java">int i, n;
if (is_null(zreopen_count)) {
i = 0;
} else {
i = zreopen_count;
}
n = i + 1;
send_wait(0, this, "call_attr", "zreopen_count", "set_val", n, "SURE_SET");</source>