MFUtilsGetFirstWorkflowState Method

Gets the first workflow state defined by a workflow.

Definition

Namespace: MFiles.VAF.Common
Assembly: MFiles.VAF (in MFiles.VAF.dll) Version: 24.1.706.1
C#
public static int GetFirstWorkflowState(
	Vault vault,
	MFIdentifier workflow
)

Parameters

vault  Vault
The vault in which the workflow resides.
workflow  MFIdentifier
A reference to the workflow

Return Value

Int32
The ID of the first workflow state defined in the passed workflow.

See Also