IT Monkey:   Join the Cireson Community today for your chance to win $50!
IT Monkey:   


Formal Cireson Support (phone, email, and web) is not included with the free Self-Service Portal – Community app. For trouble shooting assistance, take advantage of the Cireson Community to find answers to your questions. However, if you’d like to purchase a Support Package to access more formal Cireson Support (phone, email, and web), please contact us today to learn more on the pricing options.

Portal links in SLO warning and breech notifications

since implementing the community self-service portal I've update all our notification email templates to include hyperlinks directly to the referenced work item in the Portal, this has been pretter straight forward for most notifications.  However, notifications to analysts on SLO warning and Breech are a bit trickier.  Because the targeted class for these notifications is the Service Level Instance Time Information the same object is used in relation to Incidents and Service Requests.  This makes linking directly to the work item in the portal difficult since the URL differs for Incidents and Service Requests my example URL looks like this:

          <a href="http://serviceportald/Incident/Edit/$Context/Path[Relationship='CustomSystem_SLA_Library!System.WorkItemHasSLAInstanceInformation' SeedRole='Target' TypeConstraint='CustomSystem_WorkItem_Library!System.WorkItem']/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Id$/">
           <span style='color:#00B0F0'>$Context/Path[Relationship='CustomSystem_SLA_Library!System.WorkItemHasSLAInstanceInformation' SeedRole='Target' TypeConstraint='CustomSystem_WorkItem_Library!System.WorkItem']/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Id$</span>
          </a>

This URL will work if the work Item related to the warning/breech is an incident but if it is a Service request this link will not work.  is the a generic URL path that can be used or can someone suggest a way to dynamically change the URL depending on if the related class is an incident or service request?

Best Answer

Answers

Sign In or Register to comment.