0

I have developed a project site workflow in SPD that moves the project through various phases and stages. At the beginning of each stage, the workflow assigns a task to the project owner. In some instances (it works most of the time), when applying the workflow to an existing project site and skipping to a specific stage, the workflow is not generating the task.

Workflow stage example

For the life of me, I can not figure out what the issue is. Any help would be incredibly appreciated.

7
  • Are your log messages showing up? Maybe add a debug message either side of your task creation step to see if that part of the stage is executing
    – Paul Lucas
    Commented Mar 11, 2016 at 21:15
  • Thank you for your suggestion! I did add the debug messages before and after the task creation step, which clarified my issue. I don't think it is the task creation step that is causing the issue, rather it is the 'Set the current project stage status.' Any ideas?
    – Maegan
    Commented Mar 14, 2016 at 12:53
  • This is the error message: Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP BadRequest to amicamutual.sharepoint.com/sites/PWALifeProd/_api/ProjectServer/…' Correlation Id: ff74a948-1076-78bf-bdab-69f57c6d40fc Instance Id: a5b6975c-cf1d-40b6-a9fc-061db797e2b5
    – Maegan
    Commented Mar 14, 2016 at 12:55
  • Not sure, sorry! Looks to be Project Server related though (not just SharePoint), and I'm not super familiar with the workflow activities specific to project server.
    – Paul Lucas
    Commented Mar 14, 2016 at 13:23
  • Thank you for your help! I ended up removing the 'Set the current project stage status' event and the workflow runs perfectly.
    – Maegan
    Commented Mar 17, 2016 at 12:59

1 Answer 1

2

Looks to be Project Server related error (not just SharePoint). I ended up removing the 'Set the current project stage status' event and the workflow runs perfectly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.