{"id":2262,"date":"2011-03-15T13:31:18","date_gmt":"2011-03-15T12:31:18","guid":{"rendered":"http:\/\/contoso.se\/blog\/?p=2262"},"modified":"2011-03-15T13:31:18","modified_gmt":"2011-03-15T12:31:18","slug":"generate-scsm-incident-with-opalis","status":"publish","type":"post","link":"http:\/\/contoso.se\/blog\/?p=2262","title":{"rendered":"Generate SCSM Incident with Opalis"},"content":{"rendered":"<p>I read a question on the forum about creating a incident in Service Manager with Opalis. The question was about all the fields you see in the incident form in Service Manger, but not on the &#8220;Create Incident with template&#8221; activity in Opalis. Many things we see in Service Manager as one form is a combination of objects and\u00c2\u00a0relationships between classes. Some more info about that in <a title=\"Active Directory connector behavior\" href=\"http:\/\/contoso.se\/blog\/?p=1504\">this<\/a>\u00c2\u00a0post. Opalis handle this object per object and relationship per relationship. In the following policy I create a incident and create a relationship to a user and a computer. The computer is added as related CI and affected CI.<\/p>\n<p><span><a href=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident012.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-2271\" title=\"20110315_SCSM_Incident01\" src=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident012-300x52.jpg\" alt=\"\" width=\"300\" height=\"52\" srcset=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident012-300x52.jpg 300w, http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident012.jpg 622w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/span><\/p>\n<p><a href=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident011.jpg\"><\/a><\/p>\n<ol>\n<li>Creates a incident in Service Manager<\/li>\n<li>Gets a user from the CMDB<\/li>\n<li>Create a relationship between the incident and the user<\/li>\n<li>Gets a computer object<\/li>\n<li>Create a relationship between the incident and the computer, as related CI<\/li>\n<li>Create a relationship between the incident and the computer, as affected item<\/li>\n<li>Sends a platform event<\/li>\n<\/ol>\n<p><a href=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident02.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-2265\" title=\"20110315_SCSM_Incident02\" src=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident02-300x144.jpg\" alt=\"\" width=\"300\" height=\"144\" srcset=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident02-300x144.jpg 300w, http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident02.jpg 712w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident03.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-2266\" title=\"20110315_SCSM_Incident03\" src=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident03-300x172.jpg\" alt=\"\" width=\"300\" height=\"172\" srcset=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident03-300x172.jpg 300w, http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident03.jpg 662w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident04.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-2267\" title=\"20110315_SCSM_Incident04\" src=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident04-300x144.jpg\" alt=\"\" width=\"300\" height=\"144\" srcset=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident04-300x144.jpg 300w, http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident04.jpg 724w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident05.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-2268\" title=\"20110315_SCSM_Incident05\" src=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident05-205x300.jpg\" alt=\"\" width=\"205\" height=\"300\" srcset=\"http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident05-205x300.jpg 205w, http:\/\/contoso.se\/blog\/wp-content\/uploads\/2011\/03\/20110315_SCSM_Incident05.jpg 528w\" sizes=\"auto, (max-width: 205px) 100vw, 205px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I read a question on the forum about creating a incident in Service Manager with Opalis. The question was about all the fields you see in the incident form in Service Manger, but not on the &#8220;Create Incident with template&#8221; activity in Opalis. Many things we see in Service Manager as one form is a &hellip; <a href=\"http:\/\/contoso.se\/blog\/?p=2262\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[58,25],"tags":[],"class_list":["post-2262","post","type-post","status-publish","format-standard","hentry","category-opalis","category-system-center-service-desk"],"_links":{"self":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2262","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2262"}],"version-history":[{"count":3,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2262\/revisions"}],"predecessor-version":[{"id":2272,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2262\/revisions\/2272"}],"wp:attachment":[{"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2262"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/contoso.se\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}