Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Let me first state that this is NOT a desired event. When I run a sequential workflow on a calendar for approval everything now works well. It goes through all the proper steps and calculations.

However, when the workflow completes, it starts back over again automatically. All of the text I programatically enter into the item description from the first workflow iteration gets entered as the task description of the second iteration. I do not want this to happen obviously. When a workflow compeletes it should complete and not launch another approval task.

Am I missing something code wise that prevents this from happening? Or am I overlooking a detail that changes the task after completion that causes the workflow to relaunch?

The only clue I have is that the "Assigned To" field, which is pulled in from the User Profiles, changes, so I think that the workflow is relaunching since details change after it is marked as compelted. Help is defintely appreciated.

-Frustrated SharePoint Developer

share|improve this question
    
I should note that the only code that executes after approval/rejection is an activity log entry, an email to author and an if/else block that either sends a reminder email after delay or deletes the item based on approval status. There are no additional assigned task after this primary one. –  Juan May 18 '12 at 16:47
    
are you updating the item the workflow is running on from within the workflow? –  David Lozzi May 18 '12 at 19:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.