Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Duplicate taks in Approval Workflow

  Asked By: Deangelo    Date: Apr 19    Category: Sharepoint    Views: 998

When I am attaching a Approval workflow to a document library It works fine for
me when I set it to automatically start the workflow when a new item is created.

However, when I have it set to kickoff when either a new item is created or
edit, once I approve the task, it completes the workflow and immediately starts
a new workflow and shows pending.

Essentialy it's a stuck in a loop upon it's own update of the content approval
status. Any ideas on how to fix this or any workaround?



1 Answer Found

Answer #1    Answered By: Cheyenne Jacobson     Answered On: Apr 19

It sounds like you're updating the same list item  (or at least an item in
the same library) that kicks off the workflow; is that correct?

If so, then you just need to establish what that last change will be, and
test for it when the workflow  kicks off. If it meets the "final approval"
criterion, then exit.

A more complex alternative would be a custom event sink, but that would
require a bit more justification considering the level of effort.

Didn't find what you were looking for? Find more on Duplicate taks in Approval Workflow Or get search suggestion and latest updates.