workflow Class (CrmService)
[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
Represents a set of logical rules that define the steps necessary to automate a specific business process, task, or set of actions to be performed.
For a list of methods and messages that operate on this class, see Workflow Entity Capabilities.
The workflow class inherits from BusinessEntity. It exposes the following members.
|workflow||Initializes a new instance of the workflow class.|
|activeworkflowid||Gets the ID of the latest workflow activation record for the workflow.|
|activities||For internal use only. This property has no effect when set and will return null when read.|
|createdby||Gets the ID of the user who created the workflow.|
|createdon||Gets the date and time when the workflow was created.|
|createdonbehalfby||Gets the ID of the proxy user who created the workflow record.|
|description||Gets or sets the description of the workflow.|
|iscrmuiworkflow||Gets or sets the value that indicates if the workflow was created using the Microsoft Dynamics CRM Web application.|
|modifiedby||Gets the ID of the user who last modified the workflow.|
|modifiedon||Gets the date and time when the workflow was last modified.|
|modifiedonbehalfby||Gets the ID of the proxy user who last modified the workflow.|
|name||Gets or sets the name of the workflow.|
|ondemand||Gets or sets the value that indicates if the workflow is able to run as an on-demand workflow.|
|ownerid||Gets or sets the ID of the user who owns the workflow.|
|owningbusinessunit||Gets the ID of the business unit that owns the workflow.|
|parentworkflowid||Gets the ID of the workflow definition for a workflow activation.|
|plugintypeid||Gets the ID of the plug-in type.|
|primaryentity||Gets or sets the primary entity for the workflow. The workflow can be associated for one or more SDK operations defined on the primary entity.|
|rules||For internal use only. This property has no effect when set and will return null when read.|
|scope||Gets or sets the workflow scope.|
|statecode||Gets the status of the workflow.|
|statuscode||Gets or sets additional information about the status of the workflow.|
|subprocess||Gets or sets a value that indicates whether the workflow can be included in other workflows as a child workflow.|
|type||Gets or sets the workflow type.|
|uidata||For internal use only. This property has no effect when set and will return null when read.|
|workflowid||Gets or sets the ID of the workflow.|
This table lists only the attributes for a default system. For more information about the entities and attributes in your organization, see the Customization area of the Web application. To view this information in the Customization area, in the Navigation Pane, click Settings, click Customization, and then click Customize Entities. You can change the view to see non-customizable entities.
If you have an on-premise deployment, you can use the Metadata Browser to view the metadata for your organization. For more information, see Using the Metadata Browser.
This entity is not customizable.
Web Service: CrmService
© 2010 Microsoft Corporation. All rights reserved.