datamodel.itop-problem-mgmt.xml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
  3. <classes>
  4. <class id="Problem" _delta="define">
  5. <parent>Ticket</parent>
  6. <properties>
  7. <comment><![CDATA[/**
  8. * Persistent classes for a CMDB
  9. *
  10. * @copyright Copyright (C) 2010-2012 Combodo SARL
  11. * @license http://opensource.org/licenses/AGPL-3.0
  12. */]]></comment>
  13. <category>bizmodel,searchable,problemmgmt</category>
  14. <abstract>false</abstract>
  15. <key_type>autoincrement</key_type>
  16. <db_table>ticket_problem</db_table>
  17. <db_key_field>id</db_key_field>
  18. <db_final_class_field/>
  19. <naming>
  20. <format>%1$s</format>
  21. <attributes>
  22. <attribute id="ref"/>
  23. </attributes>
  24. </naming>
  25. <display_template/>
  26. <icon>images/problem.png</icon>
  27. <reconciliation>
  28. <attributes>
  29. <attribute id="ref"/>
  30. </attributes>
  31. </reconciliation>
  32. </properties>
  33. <fields>
  34. <field id="status" xsi:type="AttributeEnum">
  35. <values>
  36. <value>new</value>
  37. <value>assigned</value>
  38. <value>resolved</value>
  39. <value>closed</value>
  40. </values>
  41. <sql>status</sql>
  42. <default_value>new</default_value>
  43. <is_null_allowed>false</is_null_allowed>
  44. <display_style>list</display_style>
  45. </field>
  46. <field id="service_id" xsi:type="AttributeExternalKey">
  47. <filter>SELECT Service</filter>
  48. <dependencies>
  49. <attribute id="org_id"/>
  50. </dependencies>
  51. <sql>service_id</sql>
  52. <target_class>Service</target_class>
  53. <is_null_allowed>true</is_null_allowed>
  54. <on_target_delete>DEL_MANUAL</on_target_delete>
  55. </field>
  56. <field id="service_name" xsi:type="AttributeExternalField">
  57. <extkey_attcode>service_id</extkey_attcode>
  58. <target_attcode>name</target_attcode>
  59. </field>
  60. <field id="servicesubcategory_id" xsi:type="AttributeExternalKey">
  61. <filter><![CDATA[SELECT ServiceSubcategory WHERE service_id = :this->service_id]]></filter>
  62. <dependencies>
  63. <attribute id="service_id"/>
  64. </dependencies>
  65. <sql>servicesubcategory_id</sql>
  66. <target_class>ServiceSubcategory</target_class>
  67. <is_null_allowed>true</is_null_allowed>
  68. <on_target_delete>DEL_MANUAL</on_target_delete>
  69. </field>
  70. <field id="servicesubcategory_name" xsi:type="AttributeExternalField">
  71. <extkey_attcode>servicesubcategory_id</extkey_attcode>
  72. <target_attcode>name</target_attcode>
  73. </field>
  74. <field id="product" xsi:type="AttributeString">
  75. <sql>product</sql>
  76. <default_value/>
  77. <is_null_allowed>true</is_null_allowed>
  78. </field>
  79. <field id="impact" xsi:type="AttributeEnum">
  80. <values>
  81. <value>1</value>
  82. <value>2</value>
  83. <value>3</value>
  84. </values>
  85. <sql>impact</sql>
  86. <default_value>1</default_value>
  87. <is_null_allowed>false</is_null_allowed>
  88. <display_style>list</display_style>
  89. </field>
  90. <field id="emergency" xsi:type="AttributeEnum">
  91. <values>
  92. <value>1</value>
  93. <value>2</value>
  94. <value>3</value>
  95. <value>4</value>
  96. </values>
  97. <sql>emergency</sql>
  98. <default_value>1</default_value>
  99. <is_null_allowed>false</is_null_allowed>
  100. <display_style>list</display_style>
  101. </field>
  102. <field id="priority" xsi:type="AttributeEnum">
  103. <values>
  104. <value>1</value>
  105. <value>2</value>
  106. <value>3</value>
  107. <value>4</value>
  108. </values>
  109. <sql>priority</sql>
  110. <default_value>1</default_value>
  111. <is_null_allowed>false</is_null_allowed>
  112. <display_style>list</display_style>
  113. </field>
  114. <field id="related_change_id" xsi:type="AttributeExternalKey">
  115. <filter><![CDATA[SELECT Change WHERE status != "closed"]]></filter>
  116. <sql>related_change_id</sql>
  117. <target_class>Change</target_class>
  118. <is_null_allowed>true</is_null_allowed>
  119. <on_target_delete>DEL_MANUAL</on_target_delete>
  120. </field>
  121. <field id="related_change_ref" xsi:type="AttributeExternalField">
  122. <extkey_attcode>related_change_id</extkey_attcode>
  123. <target_attcode>ref</target_attcode>
  124. </field>
  125. <field id="assignment_date" xsi:type="AttributeDateTime">
  126. <sql>assignment_date</sql>
  127. <default_value/>
  128. <is_null_allowed>true</is_null_allowed>
  129. </field>
  130. <field id="resolution_date" xsi:type="AttributeDateTime">
  131. <sql>resolution_date</sql>
  132. <default_value/>
  133. <is_null_allowed>true</is_null_allowed>
  134. </field>
  135. <field id="knownerrors_list" xsi:type="AttributeLinkedSet">
  136. <linked_class>KnownError</linked_class>
  137. <ext_key_to_me>problem_id</ext_key_to_me>
  138. <edit_mode>add_only</edit_mode>
  139. <count_min>0</count_min>
  140. <count_max>0</count_max>
  141. </field>
  142. <field id="related_request_list" xsi:type="AttributeLinkedSet">
  143. <linked_class>UserRequest</linked_class>
  144. <ext_key_to_me>parent_problem_id</ext_key_to_me>
  145. <edit_mode>none</edit_mode>
  146. <count_min>0</count_min>
  147. <count_max>0</count_max>
  148. </field>
  149. </fields>
  150. <lifecycle>
  151. <attribute>status</attribute>
  152. <stimuli>
  153. <stimulus id="ev_assign" xsi:type="StimulusUserAction"/>
  154. <stimulus id="ev_reassign" xsi:type="StimulusUserAction"/>
  155. <stimulus id="ev_resolve" xsi:type="StimulusUserAction"/>
  156. <stimulus id="ev_close" xsi:type="StimulusUserAction"/>
  157. </stimuli>
  158. <states>
  159. <state id="new">
  160. <flags>
  161. <attribute id="ref">
  162. <read_only/>
  163. </attribute>
  164. <attribute id="org_id">
  165. <must_change/>
  166. </attribute>
  167. <attribute id="team_id">
  168. <hidden/>
  169. </attribute>
  170. <attribute id="agent_id">
  171. <hidden/>
  172. </attribute>
  173. <attribute id="description">
  174. <must_change/>
  175. </attribute>
  176. <attribute id="start_date">
  177. <read_only/>
  178. </attribute>
  179. <attribute id="last_update">
  180. <read_only/>
  181. </attribute>
  182. <attribute id="close_date">
  183. <hidden/>
  184. </attribute>
  185. <attribute id="service_id">
  186. <normal/>
  187. </attribute>
  188. <attribute id="servicesubcategory_id">
  189. <normal/>
  190. </attribute>
  191. <attribute id="product">
  192. <normal/>
  193. </attribute>
  194. <attribute id="impact">
  195. <must_change/>
  196. </attribute>
  197. <attribute id="emergency">
  198. <must_change/>
  199. </attribute>
  200. <attribute id="priority">
  201. <read_only/>
  202. </attribute>
  203. <attribute id="related_change_id">
  204. <normal/>
  205. </attribute>
  206. <attribute id="assignment_date">
  207. <hidden/>
  208. </attribute>
  209. <attribute id="resolution_date">
  210. <hidden/>
  211. </attribute>
  212. </flags>
  213. <transitions>
  214. <transition>
  215. <stimulus>ev_assign</stimulus>
  216. <target>assigned</target>
  217. <actions>
  218. <action>
  219. <verb>SetAssignedDate</verb>
  220. </action>
  221. </actions>
  222. </transition>
  223. </transitions>
  224. </state>
  225. <state id="assigned">
  226. <flags>
  227. <attribute id="ref">
  228. <read_only/>
  229. </attribute>
  230. <attribute id="org_id">
  231. <normal/>
  232. </attribute>
  233. <attribute id="team_id">
  234. <mandatory/>
  235. <must_prompt/>
  236. </attribute>
  237. <attribute id="agent_id">
  238. <mandatory/>
  239. <must_prompt/>
  240. </attribute>
  241. <attribute id="title">
  242. <normal/>
  243. </attribute>
  244. <attribute id="description">
  245. <normal/>
  246. </attribute>
  247. <attribute id="start_date">
  248. <read_only/>
  249. </attribute>
  250. <attribute id="last_update">
  251. <read_only/>
  252. </attribute>
  253. <attribute id="close_date">
  254. <hidden/>
  255. </attribute>
  256. <attribute id="priority">
  257. <read_only/>
  258. </attribute>
  259. <attribute id="assignment_date">
  260. <read_only/>
  261. </attribute>
  262. <attribute id="resolution_date">
  263. <hidden/>
  264. </attribute>
  265. </flags>
  266. <transitions>
  267. <transition>
  268. <stimulus>ev_reassign</stimulus>
  269. <target>assigned</target>
  270. <actions/>
  271. </transition>
  272. <transition>
  273. <stimulus>ev_resolve</stimulus>
  274. <target>resolved</target>
  275. <actions>
  276. <action>
  277. <verb>SetResolveDate</verb>
  278. </action>
  279. </actions>
  280. </transition>
  281. </transitions>
  282. </state>
  283. <state id="resolved">
  284. <flags>
  285. <attribute id="ref">
  286. <read_only/>
  287. </attribute>
  288. <attribute id="org_id">
  289. <read_only/>
  290. </attribute>
  291. <attribute id="team_id">
  292. <read_only/>
  293. </attribute>
  294. <attribute id="agent_id">
  295. <read_only/>
  296. </attribute>
  297. <attribute id="caller_id">
  298. <read_only/>
  299. </attribute>
  300. <attribute id="title">
  301. <read_only/>
  302. </attribute>
  303. <attribute id="description">
  304. <read_only/>
  305. </attribute>
  306. <attribute id="start_date">
  307. <read_only/>
  308. </attribute>
  309. <attribute id="last_update">
  310. <read_only/>
  311. </attribute>
  312. <attribute id="close_date">
  313. <hidden/>
  314. </attribute>
  315. <attribute id="service_id">
  316. <mandatory/>
  317. </attribute>
  318. <attribute id="servicesubcategory_id">
  319. <must_prompt/>
  320. </attribute>
  321. <attribute id="product">
  322. <must_prompt/>
  323. </attribute>
  324. <attribute id="impact">
  325. <read_only/>
  326. </attribute>
  327. <attribute id="emergency">
  328. <read_only/>
  329. </attribute>
  330. <attribute id="priority">
  331. <read_only/>
  332. </attribute>
  333. <attribute id="assignment_date">
  334. <read_only/>
  335. </attribute>
  336. <attribute id="resolution_date">
  337. <hidden/>
  338. </attribute>
  339. </flags>
  340. <transitions>
  341. <transition>
  342. <stimulus>ev_reassign</stimulus>
  343. <target>assigned</target>
  344. <actions/>
  345. </transition>
  346. <transition>
  347. <stimulus>ev_close</stimulus>
  348. <target>closed</target>
  349. <actions>
  350. <action>
  351. <verb>SetClosureDate</verb>
  352. </action>
  353. </actions>
  354. </transition>
  355. </transitions>
  356. </state>
  357. <state id="closed">
  358. <flags>
  359. <attribute id="ref">
  360. <read_only/>
  361. </attribute>
  362. <attribute id="org_id">
  363. <read_only/>
  364. </attribute>
  365. <attribute id="team_id">
  366. <read_only/>
  367. </attribute>
  368. <attribute id="agent_id">
  369. <read_only/>
  370. </attribute>
  371. <attribute id="caller_id">
  372. <read_only/>
  373. </attribute>
  374. <attribute id="title">
  375. <read_only/>
  376. </attribute>
  377. <attribute id="description">
  378. <read_only/>
  379. </attribute>
  380. <attribute id="start_date">
  381. <read_only/>
  382. </attribute>
  383. <attribute id="last_update">
  384. <read_only/>
  385. </attribute>
  386. <attribute id="close_date">
  387. <read_only/>
  388. </attribute>
  389. <attribute id="private_log">
  390. <read_only/>
  391. </attribute>
  392. <attribute id="service_id">
  393. <read_only/>
  394. </attribute>
  395. <attribute id="servicesubcategory_id">
  396. <read_only/>
  397. </attribute>
  398. <attribute id="product">
  399. <read_only/>
  400. </attribute>
  401. <attribute id="impact">
  402. <read_only/>
  403. </attribute>
  404. <attribute id="emergency">
  405. <read_only/>
  406. </attribute>
  407. <attribute id="priority">
  408. <read_only/>
  409. </attribute>
  410. <attribute id="assignment_date">
  411. <read_only/>
  412. </attribute>
  413. <attribute id="resolution_date">
  414. <hidden/>
  415. </attribute>
  416. <attribute id="related_change_id">
  417. <read_only/>
  418. </attribute>
  419. </flags>
  420. <transitions/>
  421. </state>
  422. </states>
  423. </lifecycle>
  424. <methods>
  425. <method id="SetAssignedDate">
  426. <static>false</static>
  427. <access>public</access>
  428. <type>LifecycleAction</type>
  429. <code><![CDATA[ public function SetAssignedDate($sStimulusCode)
  430. {
  431. $this->Set('assignment_date', time());
  432. return true;
  433. }]]></code>
  434. </method>
  435. <method id="SetResolveDate">
  436. <static>false</static>
  437. <access>public</access>
  438. <type>LifecycleAction</type>
  439. <code><![CDATA[ public function SetResolveDate($sStimulusCode)
  440. {
  441. $this->Set('resolution_date', time());
  442. return true;
  443. }]]></code>
  444. </method>
  445. <method id="SetClosureDate">
  446. <static>false</static>
  447. <access>public</access>
  448. <type>LifecycleAction</type>
  449. <code><![CDATA[ public function SetClosureDate($sStimulusCode)
  450. {
  451. $this->Set('close_date', time());
  452. return true;
  453. }]]></code>
  454. </method>
  455. <method id="ComputePriority">
  456. <comment>/** Compute the priority of the ticket based on its impact and emergency&#13;
  457. * @return integer The priority of the ticket 1(high) .. 3(low)&#13;
  458. */</comment>
  459. <static>false</static>
  460. <access>public</access>
  461. <type>LifecycleAction</type>
  462. <code><![CDATA[ public function ComputePriority()
  463. {
  464. // priority[impact][emergency]
  465. $aPriorities = array(
  466. // single person
  467. 1 => array(
  468. 1 => 1,
  469. 2 => 1,
  470. 3 => 2,
  471. 4 => 4,
  472. ),
  473. // a group
  474. 2 => array(
  475. 1 => 1,
  476. 2 => 2,
  477. 3 => 3,
  478. 4 => 4,
  479. ),
  480. // a departement!
  481. 3 => array(
  482. 1 => 2,
  483. 2 => 3,
  484. 3 => 3,
  485. 4 => 4,
  486. ),
  487. );
  488. $iPriority = $aPriorities[(int)$this->Get('impact')][(int)$this->Get('emergency')];
  489. return $iPriority;
  490. }]]></code>
  491. </method>
  492. <method id="ComputeValues">
  493. <static>false</static>
  494. <access>public</access>
  495. <type>Overload-DBObject</type>
  496. <code><![CDATA[ public function ComputeValues()
  497. {
  498. // Compute the priority of the ticket
  499. $this->Set('priority', $this->ComputePriority());
  500. $sCurrRef = $this->Get('ref');
  501. if (strlen($sCurrRef) == 0)
  502. {
  503. $iKey = $this->GetKey();
  504. if ($iKey < 0)
  505. {
  506. // Object not yet in the Database
  507. $iKey = MetaModel::GetNextKey(get_class($this));
  508. }
  509. $sName = sprintf('P-%06d', $iKey);
  510. $this->Set('ref', $sName);
  511. }
  512. }]]></code>
  513. </method>
  514. <method id="OnInsert">
  515. <static>false</static>
  516. <access>protected</access>
  517. <type>Overload-DBObject</type>
  518. <code><![CDATA[ protected function OnInsert()
  519. {
  520. $this->Set('start_date', time());
  521. $this->Set('last_update', time());
  522. }]]></code>
  523. </method>
  524. <method id="OnUpdate">
  525. <static>false</static>
  526. <access>protected</access>
  527. <type>Overload-DBObject</type>
  528. <code><![CDATA[ protected function OnUpdate()
  529. {
  530. $this->Set('last_update', time());
  531. }]]></code>
  532. </method>
  533. </methods>
  534. <presentation>
  535. <details>
  536. <items>
  537. <item id="functionalcis_list">
  538. <rank>10</rank>
  539. </item>
  540. <item id="contacts_list">
  541. <rank>20</rank>
  542. </item>
  543. <item id="knownerrors_list">
  544. <rank>30</rank>
  545. </item>
  546. <item id="workorders_list">
  547. <rank>40</rank>
  548. </item>
  549. <item id="related_request_list">
  550. <rank>50</rank>
  551. </item>
  552. <item id="col:col1">
  553. <rank>60</rank>
  554. <items>
  555. <item id="fieldset:Ticket:baseinfo">
  556. <rank>10</rank>
  557. <items>
  558. <item id="ref">
  559. <rank>10</rank>
  560. </item>
  561. <item id="title">
  562. <rank>20</rank>
  563. </item>
  564. <item id="org_id">
  565. <rank>30</rank>
  566. </item>
  567. <item id="status">
  568. <rank>40</rank>
  569. </item>
  570. <item id="priority">
  571. <rank>50</rank>
  572. </item>
  573. <item id="service_id">
  574. <rank>60</rank>
  575. </item>
  576. <item id="servicesubcategory_id">
  577. <rank>70</rank>
  578. </item>
  579. <item id="product">
  580. <rank>80</rank>
  581. </item>
  582. </items>
  583. </item>
  584. <item id="fieldset:Ticket:moreinfo">
  585. <rank>20</rank>
  586. <items>
  587. <item id="impact">
  588. <rank>10</rank>
  589. </item>
  590. <item id="emergency">
  591. <rank>20</rank>
  592. </item>
  593. <item id="description">
  594. <rank>30</rank>
  595. </item>
  596. </items>
  597. </item>
  598. </items>
  599. </item>
  600. <item id="col:col2">
  601. <rank>70</rank>
  602. <items>
  603. <item id="fieldset:Ticket:date">
  604. <rank>10</rank>
  605. <items>
  606. <item id="start_date">
  607. <rank>10</rank>
  608. </item>
  609. <item id="last_update">
  610. <rank>20</rank>
  611. </item>
  612. <item id="assignment_date">
  613. <rank>30</rank>
  614. </item>
  615. <item id="resolution_date">
  616. <rank>40</rank>
  617. </item>
  618. <item id="close_date">
  619. <rank>50</rank>
  620. </item>
  621. </items>
  622. </item>
  623. <item id="fieldset:Ticket:contact">
  624. <rank>20</rank>
  625. <items>
  626. <item id="caller_id">
  627. <rank>10</rank>
  628. </item>
  629. <item id="team_id">
  630. <rank>20</rank>
  631. </item>
  632. <item id="agent_id">
  633. <rank>30</rank>
  634. </item>
  635. </items>
  636. </item>
  637. <item id="fieldset:Ticket:relation">
  638. <rank>30</rank>
  639. <items>
  640. <item id="related_change_id">
  641. <rank>10</rank>
  642. </item>
  643. </items>
  644. </item>
  645. </items>
  646. </item>
  647. </items>
  648. </details>
  649. <search>
  650. <items>
  651. <item id="ref">
  652. <rank>10</rank>
  653. </item>
  654. <item id="title">
  655. <rank>20</rank>
  656. </item>
  657. <item id="org_id">
  658. <rank>30</rank>
  659. </item>
  660. <item id="start_date">
  661. <rank>40</rank>
  662. </item>
  663. <item id="status">
  664. <rank>50</rank>
  665. </item>
  666. <item id="service_id">
  667. <rank>60</rank>
  668. </item>
  669. <item id="servicesubcategory_id">
  670. <rank>70</rank>
  671. </item>
  672. <item id="product">
  673. <rank>80</rank>
  674. </item>
  675. <item id="impact">
  676. <rank>90</rank>
  677. </item>
  678. <item id="emergency">
  679. <rank>100</rank>
  680. </item>
  681. <item id="priority">
  682. <rank>110</rank>
  683. </item>
  684. <item id="caller_id">
  685. <rank>120</rank>
  686. </item>
  687. <item id="team_id">
  688. <rank>130</rank>
  689. </item>
  690. <item id="agent_id">
  691. <rank>140</rank>
  692. </item>
  693. <item id="close_date">
  694. <rank>150</rank>
  695. </item>
  696. </items>
  697. </search>
  698. <list>
  699. <items>
  700. <item id="title">
  701. <rank>10</rank>
  702. </item>
  703. <item id="org_id">
  704. <rank>20</rank>
  705. </item>
  706. <item id="start_date">
  707. <rank>30</rank>
  708. </item>
  709. <item id="status">
  710. <rank>40</rank>
  711. </item>
  712. <item id="service_id">
  713. <rank>50</rank>
  714. </item>
  715. <item id="priority">
  716. <rank>60</rank>
  717. </item>
  718. </items>
  719. </list>
  720. </presentation>
  721. </class>
  722. </classes>
  723. <menus>
  724. <menu id="ProblemManagement" xsi:type="MenuGroup" _delta="define">
  725. <rank>42</rank>
  726. </menu>
  727. <menu id="Problem:Shortcuts" xsi:type="TemplateMenuNode" _delta="define">
  728. <rank>5</rank>
  729. <parent>ProblemManagement</parent>
  730. <template_file/>
  731. </menu>
  732. <menu id="Problem:Overview" xsi:type="DashboardMenuNode" _delta="define">
  733. <rank>0</rank>
  734. <parent>ProblemManagement</parent>
  735. <definition_file>overview.xml</definition_file>
  736. </menu>
  737. <menu id="NewProblem" xsi:type="NewObjectMenuNode" _delta="define">
  738. <rank>1</rank>
  739. <parent>ProblemManagement</parent>
  740. <class>Problem</class>
  741. </menu>
  742. <menu id="SearchProblems" xsi:type="SearchMenuNode" _delta="define">
  743. <rank>2</rank>
  744. <parent>ProblemManagement</parent>
  745. <class>Problem</class>
  746. </menu>
  747. <menu id="Problem:MyProblems" xsi:type="OQLMenuNode" _delta="define">
  748. <rank>1</rank>
  749. <parent>Problem:Shortcuts</parent>
  750. <oql><![CDATA[SELECT Problem WHERE agent_id = :current_contact_id AND status NOT IN ("closed", "resolved")]]></oql>
  751. <do_search/>
  752. </menu>
  753. <menu id="Problem:OpenProblems" xsi:type="OQLMenuNode" _delta="define">
  754. <rank>2</rank>
  755. <parent>Problem:Shortcuts</parent>
  756. <oql><![CDATA[SELECT Problem WHERE status IN ("new", "assigned", "resolved")]]></oql>
  757. <do_search>1</do_search>
  758. </menu>
  759. </menus>
  760. </itop_design>