WorkflowData class

The class is used to manage the data of a workflow. The following figure shows the public structure of the class:

Ee712774.0c837f72-31ab-4203-874f-b08e5858dc9a(en-us,MSDN.10).png


The following table describes the elements of the class:

Element

Description

ActiveStepId property

Contains the ID of the currently active workflow step.

IsForced property

The property indicates if the current workflow is forced.

Steps property

 

WorkflowID property

Contains the ID of the current workflow.

WorkflowName property

Contains the name of the workflow.

AreAllStepsComplete

The method checks if each of the step is marked complete.

GetStepByIndex

The method gets the workflow step using the index passed.

GetStepByStepId

The method gets the workflow step using the step ID passed.

ReturnACopy

The method returns a workflow step array that can be serialized or deserialized.

SetPendingWorkflowData

 

SetWorkflowData

The method sets the workflow content in the data structure using the data from the XML

SetWorkflowStepsData

The method sets the workflow steps content in the data structure using the data from the XML

WorkflowData

The method creates a XML structure using the data from the data structure.

WorkflowDataInXML

 

Show: