Hi
We have custom workflow Project Server 2010 custom Workflow and custom Submit button on PDP. Evrything works fine but at the last stage workflow is not completing properly. We tried to use the setProjectStatusInformation and tried to pass projectstate as 6 for 'Workflow Completed' but it gives error.
workflowClient.SetWorkflowStageStatusInformation(_projGUID, _projectRow.STAGE_UID,"Completed",6, true); //
In 2013 Error Code says that we cannot set the stage status withing wokflow.
WorkflowInvalidStageStatusValue = 35112 | The value of the workflow stage status is not valid. When you set the stage status within the workflow, only the valuesInProgressRequestSent, InProgressRunning, orInProgressWaiting in Workflow.StageStatus are allowed. Has anybody done thos before? Can someone advise? |