Decommission Virtual Machine Service Request

ServiceManager.CloudServices.VMManagement.Template.DecommissionVMServiceRequest (ObjectTemplate)

Element properties:

TypeSystem.WorkItem.ServiceRequestProjection

Source Code:

<ObjectTemplate ID="ServiceManager.CloudServices.VMManagement.Template.DecommissionVMServiceRequest" TypeID="ServiceRequest!System.WorkItem.ServiceRequestProjection">
<Property Path="$Target/Property[Type='WorkItemLibrary!System.WorkItem']/Title$">Decommission Virtual Machine Service Request</Property>
<Property Path="$Target/Property[Type='ServiceRequestLibrary!System.WorkItem.ServiceRequest']/Priority$">$MPElement[Name='ServiceRequest!ServiceRequestPriorityEnum.Medium']$</Property>
<Property Path="$Target/Property[Type='ServiceRequestLibrary!System.WorkItem.ServiceRequest']/TemplateId$">ServiceManager.CloudServices.VMManagement.Template.DecommissionVMServiceRequest</Property>
<Object Path="$Target/Path[Relationship='Activity!System.WorkItemContainsActivity' SeedRole='Source' TypeConstraint='CloudServicesLibrary!ServiceManager.CloudServices.AutomatedActivity.PreDecommissionVM']$">
<Property Path="$Target/Property[Type='WorkItemLibrary!System.WorkItem']/Title$">Pre Decommission Virtual Machine Activity</Property>
<Property Path="$Target/Property[Type='Activity!System.WorkItem.Activity']/SequenceId$">0</Property>
<Property Path="$Target/Property[Type='Activity!System.WorkItem.Activity']/ChildId$">SMSR0</Property>
</Object>
<Object Path="$Target/Path[Relationship='Activity!System.WorkItemContainsActivity' SeedRole='Source' TypeConstraint='CloudServicesLibrary!ServiceManager.CloudServices.RunbookAutomationActivity.DecommissionVM']$">
<Property Path="$Target/Property[Type='Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/RunbookId$">8a4e40ce-7e9e-4fba-9752-095b3afee1b7</Property>
<Property Path="$Target/Property[Type='Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/TemplateId$">ServiceManager.CloudServices.VMManagement.Template.DecommissionVMServiceRequest</Property>
<Property Path="$Target/Property[Type='Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/IsReadyForAutomation$">True</Property>
<Property Path="$Target/Property[Type='Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity.Base']/PropertyMapping$">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;ParameterMapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;ParameterList&gt;
&lt;RunbookParameterItem&gt;
&lt;Name&gt;inputParameters&lt;/Name&gt;
&lt;Id&gt;a221429d0b2a4d9fa919643c4cc1aee0&lt;/Id&gt;
&lt;Type&gt;String&lt;/Type&gt;
&lt;Value&gt;$Context/Property[Type='Orchestrator!Microsoft.SystemCenter.Orchestrator.RunbookAutomationActivity']/LongText1$&lt;/Value&gt;
&lt;Direction&gt;In&lt;/Direction&gt;
&lt;ContextInfo /&gt;
&lt;/RunbookParameterItem&gt;
&lt;RunbookParameterItem&gt;
&lt;Name&gt;activityID&lt;/Name&gt;
&lt;Id&gt;e500d7c35b5c4934b7f88be9a16142ff&lt;/Id&gt;
&lt;Type&gt;String&lt;/Type&gt;
&lt;Value&gt;Generic::Id&lt;/Value&gt;
&lt;Direction&gt;In&lt;/Direction&gt;
&lt;ContextInfo /&gt;
&lt;/RunbookParameterItem&gt;
&lt;/ParameterList&gt;
&lt;RunbookId&gt;8a4e40ce-7e9e-4fba-9752-095b3afee1b7&lt;/RunbookId&gt;
&lt;/ParameterMapping&gt;
</Property>
<Property Path="$Target/Property[Type='Activity!System.WorkItem.Activity']/SequenceId$">1</Property>
<Property Path="$Target/Property[Type='Activity!System.WorkItem.Activity']/ChildId$">SMSR1</Property>
<Property Path="$Target/Property[Type='Activity!System.WorkItem.Activity']/Skip$">False</Property>
<Property Path="$Target/Property[Type='WorkItemLibrary!System.WorkItem']/Title$">Decommission Virtual Machine Runbook Activity</Property>
<Property Path="$Target/Property[Type='WorkItemLibrary!System.WorkItem']/Description$">Decommission Virtual Machine Runbook Activity</Property>
</Object>
<Object Path="$Target/Path[Relationship='Activity!System.WorkItemContainsActivity' SeedRole='Source' TypeConstraint='CloudServicesLibrary!ServiceManager.CloudServices.AutomatedActivity.PostDecommissionVM']$">
<Property Path="$Target/Property[Type='WorkItemLibrary!System.WorkItem']/Title$">Post Decommission Virtual Machine Activity</Property>
<Property Path="$Target/Property[Type='Activity!System.WorkItem.Activity']/SequenceId$">2</Property>
<Property Path="$Target/Property[Type='Activity!System.WorkItem.Activity']/ChildId$">SMSR2</Property>
</Object>
</ObjectTemplate>