Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Checks whether there are required custom fields or business drivers.
Namespace: Microsoft.Office.Project.Server.Workflow
Assembly: Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)
Syntax
'Declaration
Public Function CheckRequiredFields ( _
workflowContext As ProjectWorkflowContext, _
stageUid As Guid, _
alwaysWait As Boolean _
) As Boolean
'Usage
Dim instance As PSWorkflowService
Dim workflowContext As ProjectWorkflowContext
Dim stageUid As Guid
Dim alwaysWait As Boolean
Dim returnValue As Boolean
returnValue = instance.CheckRequiredFields(workflowContext, _
stageUid, alwaysWait)
public 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.
Implements
IPSWorkflowService.CheckRequiredFields(ProjectWorkflowContext, Guid, Boolean)