Partager via


Workflow.UpdateProjectWorkflow Method

Changes the enterprise project type (EPT) for the specified project.

Namespace:  [Workflow Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Workflow.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Workflow.asmx?wsdl

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/UpdateProjectWorkflow", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Workflow/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Workflow/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub UpdateProjectWorkflow ( _
    projectUid As Guid, _
    enterpriseProjectTypeUid As Guid _
)
'Usage
Dim instance As Workflow
Dim projectUid As Guid
Dim enterpriseProjectTypeUid As Guid

instance.UpdateProjectWorkflow(projectUid, _
    enterpriseProjectTypeUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/UpdateProjectWorkflow", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Workflow/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Workflow/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void UpdateProjectWorkflow(
    Guid projectUid,
    Guid enterpriseProjectTypeUid
)

Parameters

  • projectUid
    Type: System.Guid
    The GUID of the project.
  • enterpriseProjectTypeUid
    Type: System.Guid
    The GUID of the new EPT.

Remarks

The UpdateProjectWorkflow operation is synchronous.

Project Server Permissions

Permission

Description

ChangeWorkflow

Allows a user to change workflows. Global permission.

OpenProject

Allows a user to open a project from Project Server. Category permission.

SaveProject

Allows a user to save a project to Project Server. Category permission.

See Also

Reference

Workflow Class

Workflow Members

Workflow Web Service