Approval workflow, reject and still wait stage, and re-submit for approve again.

Answered Approval workflow, reject and still wait stage, and re-submit for approve again.

  • Monday, September 06, 2010 9:59 AM
     
     

    Hi everybody,

    I had a problem with sequential workflow.

    My secenario,

    I created a sequential workflow for project server 2010.

    I have 3 stage. I want to set approval stage to stage 2.

    If approval manager set approve, the stage must go to stage 3. There is nothing a problem.

    But approval manager set reject, the stage  still wait stage 2 and must allow user re-submit.

    I know that, I  must use office task and while loop, But I hadn't achive this.

    I found tons code sample, but there is nothing good working reject and reassign on in it.

    Thanks you for all.

    Firat,

All Replies

  • Wednesday, September 15, 2010 8:38 AM
     
     

    Below scenario is very good for developers.

    How can we set this scenario ?

    Any idea for this?

  • Wednesday, September 22, 2010 6:45 AM
     
     Answered

    Finally, I found solution. Use while within SetStage2 and UpdateStageStatus and office task as

     

    While (condition)

    {

    SetApprovalStage

    UpdateStageStatus

    CreateOffice Task

    }