<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cahenderson</id>
		<title>SDU - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://greggsmith.net/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Cahenderson"/>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Special:Contributions/Cahenderson"/>
		<updated>2026-04-17T15:41:10Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.1</generator>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Stored_Queries&amp;diff=3344</id>
		<title>Stored Queries</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Stored_Queries&amp;diff=3344"/>
				<updated>2008-10-09T19:21:18Z</updated>
		
		<summary type="html">&lt;p&gt;Cahenderson: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Configuration]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Stored Queries are used exclusively for the [[Scoreboard]]. Stored Queries have no capabilities or functionality outside of the Scoreboard.&lt;br /&gt;
&lt;br /&gt;
When defining Stored Query you must prefix all single quotation marks (') with backslash (\) character.&lt;br /&gt;
&lt;br /&gt;
To simply check Stored Query you can fill it into the Additional Search Argument field in the Search window. But you must fulfill these rules:&lt;br /&gt;
* Select proper base type (Contact, Request, Change...)&lt;br /&gt;
* Remove backslash (\) characters&lt;br /&gt;
* Change all variables (ie. @cnt.id) with correct values (@cnt is object with logged in user)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Requests, Incidents, Problems, Change Orders &amp;amp; Issues ===&lt;br /&gt;
{| style=&amp;quot;width:100%;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Description&lt;br /&gt;
! style=&amp;quot;width:40%;&amp;quot; | Code&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Notes&lt;br /&gt;
|-&lt;br /&gt;
| Active&lt;br /&gt;
| active = 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Inactive&lt;br /&gt;
| active = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Has Assignee&lt;br /&gt;
| assignee is not null&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| No Assignee&lt;br /&gt;
| assignee is null&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Assignee is the person logged in&lt;br /&gt;
| assignee = @cnt.id&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User is the person logged in&lt;br /&gt;
| customer = @cnt.id&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Location&lt;br /&gt;
| customer.location = U\'A26C98F436C43149A700CC0ED3BA74E5\'&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Site&lt;br /&gt;
| customer.location.site = 400001&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Location is the same as the person logged in&lt;br /&gt;
| customer.location = @cnt.location&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Site is the same as the person logged in&lt;br /&gt;
| customer.location.site = @cnt.location.site&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User is the person logged in&lt;br /&gt;
| customer = @cnt.id&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Attached CO&lt;br /&gt;
| (change IS NOT NULL AND change != 0)&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User is the person logged in&lt;br /&gt;
| affected_contact = @cnt.id&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Location&lt;br /&gt;
| affected_contact.location = U\'A26C98F436C43149A700CC0ED3BA74E5\'&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Site&lt;br /&gt;
| affected_contact.location.site = 400001&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Location is the same as the person logged in&lt;br /&gt;
| affected_contact.location = @cnt.location&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Site is the same as the person logged in&lt;br /&gt;
| affected_contact.location.site = @cnt.location.site&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Requester is the person logged in&lt;br /&gt;
| requestor = @cnt.id&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Callback Today&lt;br /&gt;
| call_back_flag=1 AND call_back_date &amp;lt; EndAtTime(\'TODO_TODAY\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Category or Request/Incident/Problem Area is specific&lt;br /&gt;
| category.id = nnnnnn&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Group is specific&lt;br /&gt;
| group=U\'7D15BCD6D0B7E8468E58EA600E61F484\'&lt;br /&gt;
| For pre-r11 releases, just reference the id.&lt;br /&gt;
|-&lt;br /&gt;
| Member of the Group is the person logged in&lt;br /&gt;
| group.group_list.member IN (@cnt.id)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created by the person logged on&lt;br /&gt;
| log_agent = @cnt.id&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Priority is 1&lt;br /&gt;
| priority = 5&lt;br /&gt;
| References the enum value not the sym value.&lt;br /&gt;
|-&lt;br /&gt;
| Priority is 5&lt;br /&gt;
| priority = 1&lt;br /&gt;
| References the enum value not the sym value.&lt;br /&gt;
|-&lt;br /&gt;
| Resolved&lt;br /&gt;
| active = 1 and status = \'RE\'&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| SLA has been violated&lt;br /&gt;
| sla_violation = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| SLA has not been violated&lt;br /&gt;
| sla_violation != 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created in the past 60 minutes&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'PAST_HOUR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created in the past 24 hours&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'PAST_DAY\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created in the past 7 days&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'PAST_WEEK\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created in the past 30 days&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'PAST_MONTH\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created in the past 365 days&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'PAST_YEAR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created last hour&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'LAST_HOUR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created last month&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'LAST_MONTH\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created last year&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'LAST_YEAR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created this hour&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'THIS_HOUR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created this month last year&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'THIS_MONTH_LAST_YEAR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created today&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'TODAY\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created today after noon&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'AFTER_NOON\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created today before noon&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'BEFORE_NOON\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created yesterday&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'YESTERDAY\') AND open_date &amp;lt; EndAtTime(\'YESTERDAY\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created yesterday and today&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'YESTERDAY\')&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Workflow &amp;amp; Issue Workflow ===&lt;br /&gt;
{| style=&amp;quot;width:100%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Description&lt;br /&gt;
! style=&amp;quot;width:40%;&amp;quot; | Code&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Notes&lt;br /&gt;
|-&lt;br /&gt;
| Assignee is logged in person&lt;br /&gt;
| assignee = @cnt.id&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Assignee is a specific Group&lt;br /&gt;
| assignee=U\'7D15BCD6D0B7E8468E58EA600E61F484\'&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Logged in person is a member of the Group set as the Assignee&lt;br /&gt;
| assignee.[group]group_list.member IN (@cnt.id)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Group is specific&lt;br /&gt;
| group=U\'7D15BCD6D0B7E8468E58EA600E61F484\'&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Future&lt;br /&gt;
| status.allow_task_update = 0 AND status = \'WAIT\'&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Waiting&lt;br /&gt;
| status = \'WAIT\'&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Pending&lt;br /&gt;
| status = \'PEND\'&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| To do today&lt;br /&gt;
| status = \'PEND\' AND est_completion_date &amp;lt; EndAtTime(\'TODO_TODAY\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Cannot be edited&lt;br /&gt;
| status.allow_task_update = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Is not complete&lt;br /&gt;
| status.task_complete = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Is not next in the Workflow&lt;br /&gt;
| status.do_next_task = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Contacts ===&lt;br /&gt;
{| style=&amp;quot;width:100%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Description&lt;br /&gt;
! style=&amp;quot;width:40%;&amp;quot; | Code&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Notes&lt;br /&gt;
|-&lt;br /&gt;
| All Analysts&lt;br /&gt;
| type = 2307&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Analyst is available&lt;br /&gt;
| available = 1&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Analyst is unavailable&lt;br /&gt;
| available=0 OR available IS NULL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Contact is active&lt;br /&gt;
| delete_flag = 1&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Contact is inactive&lt;br /&gt;
| delete_flag = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Contact's Location is the same as the logged in person's Location&lt;br /&gt;
| location = @cnt.location&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Members of concrete group&lt;br /&gt;
| id.[member]group_list.group IN (U\'0969194BE95B974F9535687570A8E5B1\')&lt;br /&gt;
| U\'0969194BE95B974F9535687570A8E5B1\' is an contact_uuid attribute of the group&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Configuration Items ===&lt;br /&gt;
&lt;br /&gt;
=== Knowledge ===&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Scoreboard]]&lt;br /&gt;
&lt;br /&gt;
[[Time-based Stored Queries]]&lt;/div&gt;</summary>
		<author><name>Cahenderson</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Stored_Queries&amp;diff=3343</id>
		<title>Stored Queries</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Stored_Queries&amp;diff=3343"/>
				<updated>2008-10-09T19:20:58Z</updated>
		
		<summary type="html">&lt;p&gt;Cahenderson: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Configuration]]&lt;br /&gt;
{{Global Header}}&lt;br /&gt;
{{Global Announcement}}&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
Stored Queries are used exclusively for the [[Scoreboard]]. Stored Queries have no capabilities or functionality outside of the Scoreboard.&lt;br /&gt;
&lt;br /&gt;
When defining Stored Query you must prefix all single quotation marks (') with backslash (\) character.&lt;br /&gt;
&lt;br /&gt;
To simply check Stored Query you can fill it into the Additional Search Argument field in the Search window. But you must fullfill these rules:&lt;br /&gt;
* Select proper base type (Contact, Request, Change...)&lt;br /&gt;
* Remove backslash (\) characters&lt;br /&gt;
* Change all variables (ie. @cnt.id) with correct values (@cnt is object with logged in user)&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Requests, Incidents, Problems, Change Orders &amp;amp; Issues ===&lt;br /&gt;
{| style=&amp;quot;width:100%;vertical-align:top;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Description&lt;br /&gt;
! style=&amp;quot;width:40%;&amp;quot; | Code&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Notes&lt;br /&gt;
|-&lt;br /&gt;
| Active&lt;br /&gt;
| active = 1&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Inactive&lt;br /&gt;
| active = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Has Assignee&lt;br /&gt;
| assignee is not null&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| No Assignee&lt;br /&gt;
| assignee is null&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Assignee is the person logged in&lt;br /&gt;
| assignee = @cnt.id&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User is the person logged in&lt;br /&gt;
| customer = @cnt.id&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Location&lt;br /&gt;
| customer.location = U\'A26C98F436C43149A700CC0ED3BA74E5\'&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Site&lt;br /&gt;
| customer.location.site = 400001&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Location is the same as the person logged in&lt;br /&gt;
| customer.location = @cnt.location&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Site is the same as the person logged in&lt;br /&gt;
| customer.location.site = @cnt.location.site&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User is the person logged in&lt;br /&gt;
| customer = @cnt.id&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Attached CO&lt;br /&gt;
| (change IS NOT NULL AND change != 0)&lt;br /&gt;
| Requests, Incidents &amp;amp; Problems only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User is the person logged in&lt;br /&gt;
| affected_contact = @cnt.id&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Location&lt;br /&gt;
| affected_contact.location = U\'A26C98F436C43149A700CC0ED3BA74E5\'&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Site&lt;br /&gt;
| affected_contact.location.site = 400001&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Location is the same as the person logged in&lt;br /&gt;
| affected_contact.location = @cnt.location&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Affected End User's Site is the same as the person logged in&lt;br /&gt;
| affected_contact.location.site = @cnt.location.site&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Requester is the person logged in&lt;br /&gt;
| requestor = @cnt.id&lt;br /&gt;
| Applies to Change Orders and Issues only&lt;br /&gt;
|-&lt;br /&gt;
| Callback Today&lt;br /&gt;
| call_back_flag=1 AND call_back_date &amp;lt; EndAtTime(\'TODO_TODAY\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Category or Request/Incident/Problem Area is specific&lt;br /&gt;
| category.id = nnnnnn&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Group is specific&lt;br /&gt;
| group=U\'7D15BCD6D0B7E8468E58EA600E61F484\'&lt;br /&gt;
| For pre-r11 releases, just reference the id.&lt;br /&gt;
|-&lt;br /&gt;
| Member of the Group is the person logged in&lt;br /&gt;
| group.group_list.member IN (@cnt.id)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created by the person logged on&lt;br /&gt;
| log_agent = @cnt.id&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Priority is 1&lt;br /&gt;
| priority = 5&lt;br /&gt;
| References the enum value not the sym value.&lt;br /&gt;
|-&lt;br /&gt;
| Priority is 5&lt;br /&gt;
| priority = 1&lt;br /&gt;
| References the enum value not the sym value.&lt;br /&gt;
|-&lt;br /&gt;
| Resolved&lt;br /&gt;
| active = 1 and status = \'RE\'&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| SLA has been violated&lt;br /&gt;
| sla_violation = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| SLA has not been violated&lt;br /&gt;
| sla_violation != 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created in the past 60 minutes&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'PAST_HOUR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created in the past 24 hours&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'PAST_DAY\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created in the past 7 days&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'PAST_WEEK\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created in the past 30 days&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'PAST_MONTH\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created in the past 365 days&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'PAST_YEAR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created last hour&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'LAST_HOUR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created last month&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'LAST_MONTH\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created last year&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'LAST_YEAR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created this hour&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'THIS_HOUR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created this month last year&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'THIS_MONTH_LAST_YEAR\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created today&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'TODAY\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created today after noon&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'AFTER_NOON\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created today before noon&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'BEFORE_NOON\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created yesterday&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'YESTERDAY\') AND open_date &amp;lt; EndAtTime(\'YESTERDAY\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Created yesterday and today&lt;br /&gt;
| open_date &amp;gt; StartAtTime(\'YESTERDAY\')&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Workflow &amp;amp; Issue Workflow ===&lt;br /&gt;
{| style=&amp;quot;width:100%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Description&lt;br /&gt;
! style=&amp;quot;width:40%;&amp;quot; | Code&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Notes&lt;br /&gt;
|-&lt;br /&gt;
| Assignee is logged in person&lt;br /&gt;
| assignee = @cnt.id&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Assignee is a specific Group&lt;br /&gt;
| assignee=U\'7D15BCD6D0B7E8468E58EA600E61F484\'&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Logged in person is a member of the Group set as the Assignee&lt;br /&gt;
| assignee.[group]group_list.member IN (@cnt.id)&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Group is specific&lt;br /&gt;
| group=U\'7D15BCD6D0B7E8468E58EA600E61F484\'&lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Future&lt;br /&gt;
| status.allow_task_update = 0 AND status = \'WAIT\'&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Waiting&lt;br /&gt;
| status = \'WAIT\'&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Pending&lt;br /&gt;
| status = \'PEND\'&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| To do today&lt;br /&gt;
| status = \'PEND\' AND est_completion_date &amp;lt; EndAtTime(\'TODO_TODAY\')&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Cannot be edited&lt;br /&gt;
| status.allow_task_update = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Is not complete&lt;br /&gt;
| status.task_complete = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Is not next in the Workflow&lt;br /&gt;
| status.do_next_task = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Contacts ===&lt;br /&gt;
{| style=&amp;quot;width:100%;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Description&lt;br /&gt;
! style=&amp;quot;width:40%;&amp;quot; | Code&lt;br /&gt;
! style=&amp;quot;width:30%;&amp;quot; | Notes&lt;br /&gt;
|-&lt;br /&gt;
| All Analysts&lt;br /&gt;
| type = 2307&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Analyst is available&lt;br /&gt;
| available = 1&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Analyst is unavailable&lt;br /&gt;
| available=0 OR available IS NULL&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Contact is active&lt;br /&gt;
| delete_flag = 1&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Contact is inactive&lt;br /&gt;
| delete_flag = 0&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Contact's Location is the same as the logged in person's Location&lt;br /&gt;
| location = @cnt.location&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
| Members of concrete group&lt;br /&gt;
| id.[member]group_list.group IN (U\'0969194BE95B974F9535687570A8E5B1\')&lt;br /&gt;
| U\'0969194BE95B974F9535687570A8E5B1\' is an contact_uuid attribute of the group&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Configuration Items ===&lt;br /&gt;
&lt;br /&gt;
=== Knowledge ===&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
[[Scoreboard]]&lt;br /&gt;
&lt;br /&gt;
[[Time-based Stored Queries]]&lt;/div&gt;</summary>
		<author><name>Cahenderson</name></author>	</entry>

	<entry>
		<id>http://greggsmith.net/wiki/index.php?title=Simplified_Child_Creation&amp;diff=1889</id>
		<title>Simplified Child Creation</title>
		<link rel="alternate" type="text/html" href="http://greggsmith.net/wiki/index.php?title=Simplified_Child_Creation&amp;diff=1889"/>
				<updated>2008-05-12T13:16:31Z</updated>
		
		<summary type="html">&lt;p&gt;Cahenderson: Referenced form names were incorrect (they don't exist as originally listed)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article contains instructions for expediting the child creation process by using information from the parent ticket. &lt;br /&gt;
&lt;br /&gt;
This customization is known to work in all currently supported releases of Service Desk.&lt;br /&gt;
&lt;br /&gt;
== Step 1. Create the button ==&lt;br /&gt;
The first step is to add a &amp;quot;Create a Child&amp;quot; button to the Parent/Child tab. &lt;br /&gt;
&lt;br /&gt;
'''For [[Request|Requests]], [[Incident|Incidents]], and [[Problem|Problems]]:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following code to cr_relreq_tab.htmpl for [[Request|Requests]], in_relreq_tab.htmpl for [[Incident|Incidents]], or pr_relreq_tab.htmpl for [[Problem|Problems]].&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF $args.id != 0&amp;gt;&lt;br /&gt;
ImgBtnCreate(&amp;quot;makechild&amp;quot;, &amp;quot;Create Child&amp;quot;,&lt;br /&gt;
             &amp;quot;create_new('cr',0,0,0,'PRESET=type:$args.type','INITFROM=make_child')&amp;quot;,&lt;br /&gt;
             true, 0,&amp;quot;Create a Child&amp;quot;);&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''For [[Change Order|Change Orders]]:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following code to chg_relchg.htmpl.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF $args.id != 0&amp;gt;&lt;br /&gt;
ImgBtnCreate(&amp;quot;makechild&amp;quot;, &amp;quot;Create Child&amp;quot;,&lt;br /&gt;
             &amp;quot;create_new('chg',0,0,0,'','INITFROM=make_child')&amp;quot;,&lt;br /&gt;
             true, 0,&amp;quot;Create a Child&amp;quot;);&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''For [[Issue|Issues]]:'''&amp;lt;br&amp;gt;&lt;br /&gt;
Add the following code to iss_reliss_tab.htmpl.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;PDM_IF $args.id != 0&amp;gt;&lt;br /&gt;
ImgBtnCreate(&amp;quot;makechild&amp;quot;, &amp;quot;Create Child&amp;quot;,&lt;br /&gt;
             &amp;quot;create_new('iss',0,0,0,'','INITFROM=make_child')&amp;quot;,&lt;br /&gt;
             true, 0,&amp;quot;Create a Child&amp;quot;);&lt;br /&gt;
&amp;lt;/PDM_IF&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For r11.x releases it is recommended that you edit your pages via the [[Web Screen Painter]]. For older releases you must edit the files directly.&lt;br /&gt;
&lt;br /&gt;
== Step 2. Create the form ==&lt;br /&gt;
The next step is to add a &amp;quot;make_child&amp;quot; form to the main detail page. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; style=&amp;quot;width:400px;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Ticket Type&lt;br /&gt;
! Detail Page File Name&lt;br /&gt;
|-&lt;br /&gt;
| [[Request]]&lt;br /&gt;
| detail_cr.htmpl&lt;br /&gt;
|-&lt;br /&gt;
| [[Incident]]&lt;br /&gt;
| detail_in.htmpl&lt;br /&gt;
|-&lt;br /&gt;
| [[Problem]]&lt;br /&gt;
| detail_pr.htmpl&lt;br /&gt;
|-&lt;br /&gt;
| [[Change Order]]&lt;br /&gt;
| detail_chg.htmpl&lt;br /&gt;
|-&lt;br /&gt;
| [[Issue]]&lt;br /&gt;
| detail_iss.htmpl&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following code provides a few examples of setting name fields, searchable fields, drop-down lists, and free-text fields. Use the examples provided here or add your own. Search the file you are editing for &amp;quot;frm002&amp;quot; and place the make_child form before it. &lt;br /&gt;
&amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;FORM NAME=&amp;quot;make_child&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=SET.parent VALUE=&amp;quot;$args.persistent_id&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=KEY.parent VALUE=&amp;quot;$args.ref_num&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=SET.customer VALUE=&amp;quot;$args.customer&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=customer_combo_name VALUE=&amp;quot;$args.customer.combo_name&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=SET.category VALUE=&amp;quot;$args.category&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=KEY.category VALUE=&amp;quot;$args.category.sym&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=SET.priority VALUE=&amp;quot;$args.priority&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;INPUT TYPE=hidden NAME=SET.description VALUE=&amp;lt;PDM_FMT ESC_STYLE=HTML&amp;gt;&amp;quot;$args.description (created as a child from $args.ref_num)&amp;quot;&amp;lt;/PDM_FMT&amp;gt;&amp;gt;&lt;br /&gt;
&amp;lt;/FORM&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: For COs only, replace all instances of $args.ref_num with $args.chg_ref_num.''&lt;br /&gt;
&lt;br /&gt;
== Step 3. Clear the web cache ==&lt;br /&gt;
The final step is to clear Service Desk's cache. The methods vary depending on release.&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;For r11.x releases&amp;lt;/font&amp;gt; publish your changes via the [[Web Screen Painter]]. The process of publishing automatically initiates a [[pdm_webcache]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;blue&amp;quot;&amp;gt;For older releases&amp;lt;/font&amp;gt; execute [[pdm_webcache]] from a command prompt on the [[Primary Server]]. There is no need to run this command on the [[Secondary Server|Secondary Servers]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;div align='center'&amp;gt;&amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;To make corrections or additions to this article, select the ''edit'' tab above.&amp;lt;br&amp;gt;&lt;br /&gt;
To discuss or ask questions about this article, select the ''discussion'' tab above.&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Customizations]]&lt;/div&gt;</summary>
		<author><name>Cahenderson</name></author>	</entry>

	</feed>