Home > SCSM > Notification Workflow on Review Activity Assignment-Reassignment

Notification Workflow on Review Activity Assignment-Reassignment

I am working with Some CR processes, As part of the process when new Change request created from template some review and Manual activities are defined in Activities Tab in the CR. The First Activity in the CR is Review Activity which do not contain any reviewer. Users should add reviewers in CR creation or later.

for review activity notification ” Notification for Reviewers that new Review Activity assigned to them”  we used this criteria

-Class: “Review Activity”

-Condition: “Update”

-Criteria: “From: Not Equal “In Progress” to Equal  “In Progress”

-Notification: Send Notification to Reviewer

If Users added Reviewers during the CR creation the Workflow works as expected and notification delivered to the reviewer.

The Problem Comes when user create a new CR without editing the Review Activity “As they should be able to add reviewers later”

In this case the RA status changed to In Progress with empty reviewers, if you add reviewer later the WF criteria does not match and Reviewer will not get any notification.

Workaround 1

You can create a new Subscription with Class “All Combined Classes” “Reviewer” Condition “When new Object from this class created” and with no additional Criteria …And specify Reviewer “Is User” in the notification

Problem: That you can not include any information about the CR or RA in the mail template

Workaround 2

Create some custom notification workflow same as this one but for review activity “This is version 1 and will have some improvements once I have time”

http://blogs.technet.com/b/servicemanager/archive/2010/03/12/custom-notification-workflow-on-activity-assignment-or-reassignment.aspx

Please make sure to replace the notification template with your template

<ManagementPack ContentReadable=”true” SchemaVersion=”1.1″ OriginalSchemaVersion=”1.1″ xmlns:xsd=”http://www.w3.org/2001/XMLSchema&#8221; xmlns:xsl=”http://www.w3.org/1999/XSL/Transform”&gt;
<Manifest>
<Identity>
<ID>Custom.ReviewActivityWorkflows</ID>
<Version>7.5.2905.0</Version>
</Identity>
<Name>Custom Review Activity Workflows</Name>
<References>
<Reference Alias=”WorkItem”>
<ID>System.WorkItem.Library</ID>
<Version>7.5.2905.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias=”ActivityManagement”>
<ID>ServiceManager.ActivityManagement.Library</ID>
<Version>7.5.2905.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias=”EnterpriseManagement1″>
<ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Administration</ID>
<Version>7.5.2905.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias=”EnterpriseManagement”>
<ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Console</ID>
<Version>7.5.2905.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias=”System”>
<ID>System.Library</ID>
<Version>7.5.2905.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias=”CoreActivity”>
<ID>System.WorkItem.Activity.Library</ID>
<Version>7.5.2905.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias=”SystemCenter”>
<ID>Microsoft.SystemCenter.Subscriptions</ID>
<Version>7.5.2905.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias=”SystemCenter1″>
<ID>Microsoft.SystemCenter.Library</ID>
<Version>7.0.8432.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
<Reference Alias=”CustomSystem_Notifications_Library”>
<ID>System.Notifications.Library</ID>
<Version>7.5.2905.0</Version>
<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
</Reference>
</References>
</Manifest>
<Categories>
<Category ID=”Category.Custom.ReviewActivityWorkflows.ManagementPack” Value=”EnterpriseManagement!Microsoft.EnterpriseManagement.ServiceManager.ManagementPack”>
<ManagementPackName>Custom.ReviewActivityWorkflows</ManagementPackName>
<ManagementPackVersion>7.5.2905.0</ManagementPackVersion>
</Category>
<Category ID=”Category.ReviewActivityAssignedToUserAddRule” Target=”ReviewActivityAssignedToUserAddRule” Value=”EnterpriseManagement1!Microsoft.EnterpriseManagement.ServiceManager.Rules.WorkflowSubscriptions” />
<Category ID=”ServiceManager.Console.NotificationManagement.NotificationTemplates.ReviewActivityAssignedToUserNotificationTemplate.Category” Target=”ReviewActivityAssignedToUserNotificationTemplate” Value=”EnterpriseManagement1!ServiceManager.Console.NotificationManagement.NotificationTemplates.Enumeration” />
</Categories>
<Monitoring>
<Rules>
<Rule ID=”ReviewActivityAssignedToUserAddRule” Enabled=”true” Target=”ActivityManagement!System.WorkItem.Activity.WorkflowTarget” ConfirmDelivery=”true” Remotable=”true” Priority=”Normal” DiscardLevel=”100″>
<Category>System</Category>
<DataSources>
<DataSource ID=”DS” TypeID=”SystemCenter!Microsoft.SystemCenter.CmdbInstanceSubscription.DataSourceModule”>
<Subscription>
<RelationshipSubscription RelType=”$MPElement[Name=’CoreActivity!System.ReviewActivityHasReviewer’]$” SourceType=”$MPElement[Name=’CoreActivity!System.WorkItem.Activity.ReviewActivity’]$” TargetType=”$MPElement[Name=’CoreActivity!System.Reviewer’]$”>
<AddRelationship />
</RelationshipSubscription>
<PollingIntervalInSeconds>30</PollingIntervalInSeconds>
<BatchSize>100</BatchSize>
</Subscription>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID=”WA” TypeID=”SystemCenter!Microsoft.EnterpriseManagement.SystemCenter.Subscription.WindowsWorkflowTaskWriteAction”>
<Subscription>
<EnableBatchProcessing>false</EnableBatchProcessing>
<WindowsWorkflowConfiguration>
<AssemblyName>Microsoft.EnterpriseManagement.Notifications.Workflows</AssemblyName>
<WorkflowTypeName>Microsoft.EnterpriseManagement.Notifications.Workflows.SendNotificationsActivity</WorkflowTypeName>
<WorkflowParameters>
<WorkflowParameter Name=”SubscriptionId” Type=”guid”>$MPElement$</WorkflowParameter>
<WorkflowArrayParameter Name=”DataItems” Type=”string”>
<Item>$Data/.$</Item>
</WorkflowArrayParameter>
<WorkflowArrayParameter Name=”InstanceIds” Type=”string”>
<Item>$Data/BaseManagedEntityId$</Item>
</WorkflowArrayParameter>
<WorkflowArrayParameter Name=”TemplateIds” Type=”string”>
<Item>746fd65a-9050-4d58-507c-21d83c059aca</Item>
</WorkflowArrayParameter>
<WorkflowArrayParameter Name=”PrimaryUserRelationships” Type=”string”>
<Item>$Context/Path[Relationship=’CoreActivity!System.ReviewActivityHasReviewer’ TypeConstraint=’CoreActivity!System.Reviewer’]/Path[Relationship=’CoreActivity!System.ReviewerIsUser’ TypeConstraint=’System!System.User’]$</Item>
</WorkflowArrayParameter>
</WorkflowParameters>
<RetryExceptions />
<RetryDelaySeconds>60</RetryDelaySeconds>
<MaximumRunningTimeSeconds>7200</MaximumRunningTimeSeconds>
</WindowsWorkflowConfiguration>
</Subscription>
</WriteAction>
</WriteActions>
</Rule>
</Rules>
</Monitoring>
<Templates>
<ObjectTemplate ID=”ReviewActivityAssignedToUserNotificationTemplate” TypeID=”CustomSystem_Notifications_Library!System.Notification.Template.SMTP”>
<Property Path=”$Context/Property[Type=’CustomSystem_Notifications_Library!System.Notification.Template.SMTP’]/Subject$”>&lt;1033&gt;A Review Activity Assigned to You is now Active – Please Vote. ID: [$Context/Property[Type=’WorkItem!System.WorkItem’]/Id$];/1033&gt;</Property>
<Property Path=”$Context/Property[Type=’CustomSystem_Notifications_Library!System.Notification.Template.SMTP’]/Priority$”>2</Property>
<Property Path=”$Context/Property[Type=’CustomSystem_Notifications_Library!System.Notification.Template.SMTP’]/IsBodyHtml$”>False</Property>
<Property Path=”$Context/Property[Type=’CustomSystem_Notifications_Library!System.Notification.Template’]/Content$”>&lt;1033&gt;Dear $Context/Path[Relationship=’CoreActivity!System.ReviewActivityHasReviewer’ TypeConstraint=’CoreActivity!System.Reviewer’]/Path[Relationship=’CoreActivity!System.ReviewerIsUser’ TypeConstraint=’System!System.User’]$?$DisplayName$? ,

The following review activity has been assigned to you for review. Please click the link below to approve or reject the review activity
Link : http://itssmportal:3300/SMPortal/SitePages/My%20Activities.aspx

Title: $Context/Property[Type=’WorkItem!System.WorkItem’]/Title$

Area: $Context/Property[Type=’CoreActivity!System.WorkItem.Activity’]/Area$
&lt;/1033&gt;</Property>
<Property Path=”$Context/Property[Type=’CustomSystem_Notifications_Library!System.Notification.Template’]/Encoding$”>utf-8</Property>
<Property Path=”$Context/Property[Type=’CustomSystem_Notifications_Library!System.Notification.Template’]/SeedClass$”>System.WorkItem.Activity$3fc62adf-d590-ed19-587e-e029aecb738d</Property>
<Property Path=”$Context/Property[Type=’CustomSystem_Notifications_Library!System.Notification.Template’]/Protocol$”>SMTP</Property>
</ObjectTemplate>
</Templates>
<LanguagePacks>
<LanguagePack ID=”ENU” IsDefault=”true”>
<DisplayStrings>
<DisplayString ElementID=”Custom.ReviewActivityWorkflows”>
<Name>Custom Review Activity Workflows</Name>
</DisplayString>
<DisplayString ElementID=”ReviewActivityAssignedToUserAddRule”>
<Name>Reviewer Added to Review Activity</Name>
</DisplayString>
<DisplayString ElementID=”ReviewActivityAssignedToUserNotificationTemplate”>
<Name>Review Activity Assigned to User Template</Name>
</DisplayString>
</DisplayStrings>
</LanguagePack>
</LanguagePacks>
</ManagementPack>

Advertisements
Categories: SCSM Tags:
  1. Mohamed Elgendi
    February 27, 2013 at 12:49 pm

    Great Work my Teammate 🙂

    • Mohamed Fawzi
      February 27, 2013 at 2:40 pm

      Thanks…Now I have time to add more and more tricks… More to come..Stay tuned

  2. Sam
    May 28, 2013 at 4:31 pm

    Thanks Mohamed,

    Will this work on SCSM 2012 SP1? If yes

    Could please help with a similar approach for Manual Activity?

    Thanks

  3. Sam
    June 14, 2013 at 5:30 pm

    I have modified your MP for Review activity,I can see the workflow kicks in but I do not get notified via email.Please have a look at the MP and tell where am going wrong:

    Custom.ReviewActivityWorkflows
    7.5.2905.0

    Custom Review Activity Workflows

    System.WorkItem.Library
    7.5.2905.0
    31bf3856ad364e35

    ServiceManager.ActivityManagement.Library
    7.5.2905.0
    31bf3856ad364e35

    Microsoft.EnterpriseManagement.ServiceManager.UI.Administration
    7.5.2905.0
    31bf3856ad364e35

    Microsoft.EnterpriseManagement.ServiceManager.UI.Console
    7.5.2905.0
    31bf3856ad364e35

    System.Library
    7.5.2905.0
    31bf3856ad364e35

    System.WorkItem.Activity.Library
    7.5.2905.0
    31bf3856ad364e35

    Microsoft.SystemCenter.Subscriptions
    7.5.2905.0
    31bf3856ad364e35

    Microsoft.SystemCenter.Library
    7.0.8432.0
    31bf3856ad364e35

    System.Notifications.Library
    7.5.2905.0
    31bf3856ad364e35

    Custom.ReviewActivityWorkflows
    7.5.2905.0

    System

    30
    100

    false

    Microsoft.EnterpriseManagement.Notifications.Workflows
    Microsoft.EnterpriseManagement.Notifications.Workflows.SendNotificationsActivity

    $MPElement$

    $Data/.$

    $Data/BaseManagedEntityId$

    746fd65a-9050-4d58-507c-21d83c059aca

    $Context/Path[Relationship=’CoreActivity!System.ReviewActivityHasReviewer’ TypeConstraint=’CoreActivity!System.Reviewer’]/Path[Relationship=’CoreActivity!System.ReviewerIsUser’ TypeConstraint=’System!System.User’]$

    60
    7200

    <1033>A review activity has been created: [$Context/Property[Type=’WorkItem!System.WorkItem’]/Id$]</1033>
    2
    False
    <1033>&lt;html&gt;

    &lt;head&gt;
    &lt;meta http-equiv=Content-Type content=”text/html; charset=windows-1252″&gt;
    &lt;meta name=Generator content=”Microsoft Word 15 (filtered)”&gt;
    &lt;style&gt;
    &lt;!–
    /* Font Definitions */
    @font-face
    {font-family:”Cambria Math”;
    panose-1:2 4 5 3 5 4 6 3 2 4;}
    @font-face
    {font-family:Calibri;
    panose-1:2 15 5 2 2 2 4 3 2 4;}
    /* Style Definitions */
    p.MsoNormal, li.MsoNormal, div.MsoNormal
    {margin-top:0cm;
    margin-right:0cm;
    margin-bottom:10.0pt;
    margin-left:0cm;
    line-height:115%;
    font-size:11.0pt;
    font-family:”Calibri”,”sans-serif”;}
    a:link, span.MsoHyperlink
    {color:blue;
    text-decoration:underline;}
    a:visited, span.MsoHyperlinkFollowed
    {color:#954F72;
    text-decoration:underline;}
    .MsoChpDefault
    {font-family:”Calibri”,”sans-serif”;}
    .MsoPapDefault
    {margin-bottom:8.0pt;
    line-height:107%;}
    @page WordSection1
    {size:612.0pt 792.0pt;
    margin:72.0pt 72.0pt 72.0pt 72.0pt;}
    div.WordSection1
    {page:WordSection1;}
    –&gt;
    &lt;/style&gt;

    &lt;/head&gt;

    &lt;body lang=EN-ZA link=blue vlink=”#954F72″&gt;

    &lt;div class=WordSection1&gt;

    &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;Greetings $Context/Path[Relationship=’WorkItem!System.WorkItemAssignedToUser’ TypeConstraint=’CustomSystem_Library!System.User’]/Property[Type=’CustomSystem_Library!System.User’]/FirstName$,&lt;/span&gt;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;A &lt;b&gt;Review Activity&lt;/b&gt; has been opened
    for your attention.&lt;/span&gt;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span lang=EN-US&gt;Activity Details:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

    &lt;table class=MsoTable15Grid5DarkAccent6 border=1 cellspacing=0 cellpadding=0
    style=’border-collapse:collapse;border:none’&gt;
    &lt;tr style=’height:15.05pt’&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border:solid white 1.0pt;
    border-right:none;background:#70AD47;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US style=’color:white’&gt;ID&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border:solid white 1.0pt;
    border-left:none;background:#70AD47;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;b&gt;&lt;span lang=EN-US style=’color:white’&gt;$Context/Property[Type=’WorkItem!System.WorkItem’]/Id$&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr style=’height:15.05pt’&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border:solid white 1.0pt;
    border-top:none;background:#70AD47;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US style=’color:white’&gt;Title&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border-top:none;border-left:
    none;border-bottom:solid white 1.0pt;border-right:solid white 1.0pt;
    background:#C5E0B3;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US&gt;$Context/Property[Type=’WorkItem!System.WorkItem’]/Title$&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr style=’height:15.05pt’&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border:solid white 1.0pt;
    border-top:none;background:#70AD47;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US style=’color:white’&gt;Description&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border-top:none;border-left:
    none;border-bottom:solid white 1.0pt;border-right:solid white 1.0pt;
    background:#E2EFD9;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US&gt;$Context/Property[Type=’WorkItem!System.WorkItem’]/Description$&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr style=’height:3.0pt’&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border:solid white 1.0pt;
    border-top:none;background:#70AD47;padding:0cm 5.4pt 0cm 5.4pt;height:3.0pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US style=’color:white’&gt;Stage&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border-top:none;border-left:
    none;border-bottom:solid white 1.0pt;border-right:solid white 1.0pt;
    background:#C5E0B3;padding:0cm 5.4pt 0cm 5.4pt;height:3.0pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US&gt;$Context/Property[Type=’WorkItem1!System.WorkItem.Activity’]/Stage$&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/table&gt;

    &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span lang=EN-US&gt;Change Request Details:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

    &lt;table class=MsoTable15Grid5DarkAccent6 border=1 cellspacing=0 cellpadding=0
    style=’border-collapse:collapse;border:none’&gt;
    &lt;tr style=’height:15.05pt’&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border:solid white 1.0pt;
    border-right:none;background:#70AD47;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US style=’color:white’&gt;ID&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border:solid white 1.0pt;
    border-left:none;background:#70AD47;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;b&gt;&lt;span lang=EN-US style=’color:white’&gt;$Context/Path[Relationship=’WorkItem1!System.WorkItemContainsActivity’ SeedRole=’Target’ TypeConstraint=’WorkItem!System.WorkItem’]/Property[Type=’WorkItem!System.WorkItem’]/Id$&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr style=’height:15.05pt’&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border:solid white 1.0pt;
    border-top:none;background:#70AD47;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span style=’color:white’&gt;Title&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border-top:none;border-left:
    none;border-bottom:solid white 1.0pt;border-right:solid white 1.0pt;
    background:#C5E0B3;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;$Context/Path[Relationship=’WorkItem1!System.WorkItemContainsActivity’ SeedRole=’Target’ TypeConstraint=’WorkItem!System.WorkItem’]/Property[Type=’WorkItem!System.WorkItem’]/Title$&lt;/p&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr style=’height:15.05pt’&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border:solid white 1.0pt;
    border-top:none;background:#70AD47;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US style=’color:white’&gt;Description&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border-top:none;border-left:
    none;border-bottom:solid white 1.0pt;border-right:solid white 1.0pt;
    background:#E2EFD9;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US&gt;$Context/Path[Relationship=’WorkItem1!System.WorkItemContainsActivity’ SeedRole=’Target’ TypeConstraint=’WorkItem!System.WorkItem’]/Property[Type=’WorkItem!System.WorkItem’]/Description$&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr style=’height:15.05pt’&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border:solid white 1.0pt;
    border-top:none;background:#70AD47;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US style=’color:white’&gt;Scheduled Start Date&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border-top:none;border-left:
    none;border-bottom:solid white 1.0pt;border-right:solid white 1.0pt;
    background:#C5E0B3;padding:0cm 5.4pt 0cm 5.4pt;height:15.05pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US&gt;$Context/Path[Relationship=’WorkItem1!System.WorkItemContainsActivity’ SeedRole=’Target’ TypeConstraint=’WorkItem!System.WorkItem’]/Property[Type=’WorkItem!System.WorkItem’]/ScheduledStartDate$&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr style=’height:3.5pt’&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border:solid white 1.0pt;
    border-top:none;background:#70AD47;padding:0cm 5.4pt 0cm 5.4pt;height:3.5pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US style=’color:white’&gt;Scheduled End
    &amp;nbsp;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;td width=219 valign=top style=’width:164.25pt;border-top:none;border-left:
    none;border-bottom:solid white 1.0pt;border-right:solid white 1.0pt;
    background:#E2EFD9;padding:0cm 5.4pt 0cm 5.4pt;height:3.5pt’&gt;
    &lt;p class=MsoNormal style=’margin-bottom:0cm;margin-bottom:.0001pt;line-height:
    normal’&gt;&lt;span lang=EN-US&gt;$Context/Path[Relationship=’WorkItem1!System.WorkItemContainsActivity’ SeedRole=’Target’ TypeConstraint=’WorkItem!System.WorkItem’]/Property[Type=’WorkItem!System.WorkItem’]/ScheduledEndDate$&lt;/span&gt;&lt;/p&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/table&gt;

    &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;Please click on &lt;/span&gt;&lt;a
    href=”http://servicedesk/SitePages/My%20Activities.aspx?ActivityId=$Context/?$Id$?”&gt;&lt;span
    lang=EN-US&gt;My Activities&lt;/span&gt;&lt;/a&gt;&lt;span lang=EN-US&gt; to mark as completed after
    the activity has been implemented. &lt;/span&gt;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;We strive for GREAT service …&lt;/span&gt;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;Please note: This is an automated e-mail
    generated by System Center Service Manager.&lt;/span&gt;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&lt;span lang=EN-US&gt;[Please do not reply to this e-mail]&lt;/span&gt;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;/p&gt;

    &lt;p class=MsoNormal&gt;&amp;nbsp;&lt;/p&gt;

    &lt;/div&gt;

    &lt;/body&gt;

    &lt;/html&gt;
    </1033>
    utf-8
    System.WorkItem.Activity$3fc62adf-d590-e6eaf-65d92c1d8e36
    SMTP

    Custom Review Activity Workflows

    Reviewer Added to Review Activity

    Review Activity Assigned to User Template

  4. Sam
    June 14, 2013 at 5:32 pm

    Looks like it doesn’t display very well.Please give me an email,i can email you the MP

  5. Cristina Garcia
    July 10, 2013 at 7:08 pm

    It is not working… And when try to modify the template from the console I get this error:
    Fecha: 7/10/2013 12:08:43 PM
    Aplicación: System Center Service Manager
    Versión de la aplicación: 7.5.1561.0
    Gravedad: Error
    Mensaje: Unexpected end of file has occurred. The following elements are not closed: LCID1033. Line 1, position 141.

    System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: LCID1033. Line 1, position 141.
    at Microsoft.EnterpriseManagement.UI.SdkDataAccess.ConsoleTaskHandler.DoTask(IList`1 navigationNodes, NavigationModelNodeTask task, List`1 parameterList)
    at Microsoft.EnterpriseManagement.UI.SdkDataAccess.ConsoleTaskHandler.DoTask(IList`1 navigationNodes, NavigationModelNodeTask task)
    at Microsoft.EnterpriseManagement.ConsoleFramework.WindowJobRecord.ExecuteBackgroundJob(Object sender, ConsoleJobEventArgs eventargs)
    at Microsoft.EnterpriseManagement.ServiceManager.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)

    Any ideas?? Can you please help? I have SCSM 2012 RTM.
    Thanks!

    • Mohamed Fawzi
      July 11, 2013 at 10:27 am

      Create new Review notification template and replace this ID “746fd65a-9050-4d58-507c-21d83c059aca” with your new created notification template

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: