Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Project Server 2010 (sharepoint 2010) workflow approval issue

$
0
0

Hi,

We have created a sample project server workflow which is to work as follows:
First stage is set and waiting for input.When requestor submits it moves to a review stage where approval is needed.
On atleast one approval it moves to next review stage else rejected stage.


We have used the code form sample proposal available solution.When we have deployed it works as follows:

First stage is coming correctly and waiting for input. When user submit, it moves correctly to next stage and a task got created for approval.
When click on the task title, we are getting a pop up window with task details and Edit button.

On clicking on edit, getting below Approval/ Reject pop up.When Approved, status changes to completed and % complete is 100%.

But we have noticed that TaskResults["Approved"] is null even after the task is approved.
So even after it is approved, it moves to rejected stage instead of next review stage.

I am not sure why TaskResults["Approved"] is null after approval? Please help to proceed.

One more issue we are facing which is related to the approval group.
When we are using the default Portfolio Manager group (public Guid portfolioManagers = new Guid("c18b1372-24a4-4c4e-b8ac-c9ac7ad5037a");), the workflow is working as mentioned above.
But if I am changing the guid given above with guid of a custom group(having rights similar to default portfolioManagersgroup), the workflow just retains in the first stage itself, even after the user submit the first stage.

Please help..


Thanks, Lovely


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>