CRMProcessController Class
The CRMProcessController class contains methods that you can use to manage workflow process instance objects.
Note Workflow processes that are created by using the methods in the CRMProcess class and CRMProcessController class do not display any details in the Microsoft CRM Workflow Manager and Workflow Monitor tools. You can see the line items for your custom processes in these tools, but the detail windows are empty.
There are no properties for this class.
For more information about using XML, see XML Document Object Model.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Web.Services.Protocols.WebClientProtocol
System.Web.Services.Protocols.HttpWebClientProtocol
System.Web.Services.Protocols.SoapHttpClientProtocol
CRMProcessController
[Visual Basic .NET]
Public Class CRMProcessController
Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
[C#]
public class CRMProcessController : System.Web.Services.Protocols.SoapHttpClientProtocol
[C++]
public __gc class CRMProcessController: public System.Web.Services.Protocols.SoapHttpClientProtocol
The CRMProcessController class exposes the following methods.
Method | Description |
Delete | Deletes a completed process instance and all of its logs. |
Execute | Executes a process manually. |
IsObjectInProcess | Checks whether an object is currently in an active process instance. |
Pause | Pauses the execution of a process instance. |
Resume | Resumes the execution of a process instance. |
RetrieveActionLog | Retrieves the action log of a process instance. |
RetrieveCompletedSteps | Retrieves all of the completed steps. |
RetrieveProcessesByObject | Retrieves all of the workflow processes that can be run by an object. |
RetrieveProcessInstance | Retrieves a workflow process instance. |
RetrieveProcessInstancesByCategory | Retrieves workflow process instances by category. |
RetrieveProcessInstancesByObject | Retrieves workflow process instances that are associated with a specified object. |
RetrieveProcessInstancesSummary | Retrieves a summary of the process instances. |
RetrieveRightSteps | Retrieves all of the steps that follow a specified step. |
RetrieveRuleLog | Retrieves the rule log of a process instance. |
RetrieveSalesProcessActivities | Retrieves all sales process activities and their states for an opportunity. |
RetrieveSalesProcessStages | Retrieves the stages for an opportunity if that opportunity is in a sales process. |
RetrieveStepActions | Retrieves all of the actions that are defined for process step. |
SetStep | Sets a step of a process instance manually. |
Terminate | Terminates a process instance manually. |
Requirements
Namespace: Microsoft.CRM.Proxy
Assembly: microsoft.crm.proxy.dll
See Also