Workflow.SetWorkflowStageStatusInformation Method
Sets the status information for a workflow stage.
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/SetWorkflowStageStatusInformation", 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 SetWorkflowStageStatusInformation ( _
projUid As Guid, _
workflowStageUid As Guid, _
statusInformation As String, _
stageStatusValue As Integer, _
append As Boolean _
)
'Usage
Dim instance As Workflow
Dim projUid As Guid
Dim workflowStageUid As Guid
Dim statusInformation As String
Dim stageStatusValue As Integer
Dim append As Boolean
instance.SetWorkflowStageStatusInformation(projUid, _
workflowStageUid, statusInformation, _
stageStatusValue, append)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Workflow/SetWorkflowStageStatusInformation", 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 SetWorkflowStageStatusInformation(
Guid projUid,
Guid workflowStageUid,
string statusInformation,
int stageStatusValue,
bool append
)
Parameters
- projUid
Type: System.Guid
The GUID of the project.
- workflowStageUid
Type: System.Guid
The GUID of the stage.
- statusInformation
Type: System.String
A String for a comment about the stage status.
- stageStatusValue
Type: System.Int32
Specifies the workflow stage status. Can be one of the constants in the Workflow.StageStatus enumeration.
- append
Type: System.Boolean
Specifies whether to append the status information to previous data in the STAGE_INFO field. If False, deletes any previous information.
Remarks
Project Server Permissions
Permission |
Description |
---|---|
Non-Standard |
The user must have the OpenProject category permission and the SaveProject category permission for the specified project. |