Workflow (process) entity messages and methods
Applies To: Dynamics CRM 2015
The workflow (process) entity represents a series of interrelated action steps and the workflow rules that drive the transition between these steps. A workflow process defines the actions the workflow should take at each step and the workflow rules that the workflow should use to evaluate when to go to the next step. The schema name for this entity is Workflow. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download.
The following table describes the messages for this entity, which you use with theIOrganizationService.Execute method.
Message |
Description |
---|---|
Assigns a workflow to another user or team. |
|
Creates a workflow. You can also call the IOrganizationService.Create method. |
|
Creates a workflow from a workflow template. |
|
Deletes a workflow. You can also call the IOrganizationService.Delete method. |
|
Executes a workflow. |
|
Shares a workflow with another security principal (user or team). |
|
Changes the access rights for a workflow previously shared with another security principal (user or team). |
|
Retrieves a workflow. You can also call the IOrganizationService.Retrieve method. |
|
Retrieves a collection of workflows. You can also call the IOrganizationService.RetrieveMultiple method. |
|
Retrieves the access the specified security principal (user or team) has to a workflow. |
|
Retrieves the security principals (users or teams) that have access to a workflow, together with their access rights to the workflow. |
|
Removes all access to a workflow for the specified security principal (user or team). |
|
Sets the state of a workflow.The possible states are defined in the WorkflowState enumeration. You can see the states in the Workflow entity metadata. You can find this information in the metadata for your organization. See the preceding metadata browser information. |
|
Updates a workflow. You can also call the IOrganizationService.Update method. |
See Also
Workflow and process entities
Workflow (process) entity privileges
WorkflowLog (process log) entity messages and methods
© 2016 Microsoft. All rights reserved. Copyright