Condividi tramite


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

  • stageUid
    Type: System.Guid
    The GUID of the workflow stage to check.
  • alwaysWait
    Type: System.Boolean
    True 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.

See Also

Reference

IPSWorkflowService Interface

IPSWorkflowService Members

Microsoft.Office.Project.Server.Library Namespace