SPWorkflow.GetActivityDetails method

Returns an array of objects with detailed information about each workflow activity.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)> _
Public Function GetActivityDetails As SPWorkflowActivityDetails()
'Usage
Dim instance As SPWorkflow
Dim returnValue As SPWorkflowActivityDetails()

returnValue = instance.GetActivityDetails()
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedSPType)]
public SPWorkflowActivityDetails[] GetActivityDetails()

Return value

Type: []
An array of objects, each with information about an activity of the workflow, or null if no information is available.

Remarks

A workflow is a set of activities that are organized hierarchically in a tree structure. An activity represents an action in a workflow. Each object in the array returned by this method has information about one activity in the workflow activity tree.

Note

This method returns null if "ShowPreview" is not set to true in the workflow configuration file. This setting turns on workflow visualization on the workflow status page.

See also

Reference

SPWorkflow class

SPWorkflow members

Microsoft.SharePoint.Workflow namespace

Activity

Other resources

Workflow configuration schema reference