Cancel

CancelChangeRequest (ConsoleTask)

Cancel the change request and all incomplete activities

Element properties:

TargetSystem.WorkItem.ChangeRequest
Application
WorkingDirectory
isRequireOutputFalse
AccessibilityPublic
EnabledTrue

Source Code:

<ConsoleTask Target="CoreChange!System.WorkItem.ChangeRequest" ID="CancelChangeRequest" Accessibility="Public" RequireOutput="false">
<Assembly>SMConsole!SdkDataAccessAssembly</Assembly>
<Handler>Microsoft.EnterpriseManagement.UI.SdkDataAccess.ConsoleTaskHandler</Handler>
<Parameters>
<Argument Name="Assembly">Microsoft.EnterpriseManagement.ServiceManager.ChangeManagement.Presentation</Argument>
<Argument Name="Type">Microsoft.EnterpriseManagement.ServiceManager.ChangeManagement.Tasks.ChangeRequestStatusChangeTaskHandler</Argument>
<Argument>Cancel</Argument>
</Parameters>
</ConsoleTask>