IPSWorkflowService.CheckRequiredFields method
Checks whether there are required custom fields or business drivers.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Function CheckRequiredFields ( _
workflowContext As ProjectWorkflowContext, _
stageUid As Guid, _
alwaysWait As Boolean _
) As Boolean
'Usage
Dim instance As IPSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim stageUid As Guid
Dim alwaysWait As Boolean
Dim returnValue As Boolean
returnValue = instance.CheckRequiredFields(workflowContext, _
stageUid, alwaysWait)
bool CheckRequiredFields(
ProjectWorkflowContext workflowContext,
Guid stageUid,
bool alwaysWait
)
Parameters
workflowContext
Type: Microsoft.Office.Project.Server.Library.ProjectWorkflowContextInformation that is related to the current instance of the workflow that is being processed.
stageUid
Type: System.GuidThe GUID of the workflow stage to check.
alwaysWait
Type: System.BooleanTrue if the current stage is set to wait always, even if there are no required fields; otherwise, false.
Return value
Type: System.Boolean
True if there are required custom fields; otherwise, false.