SP 2013 Teamsite-Template
I got 2 lists in my Teamsite. When an item was created or changed on list A a WF starts and the Item is copied to list B (create or update if exist). On list B there is another WF running that automatically approves the item after setting permissions properly. So far so good.
Now I ran into a (seldom) problem. Here is what is happening:
- Item was created on list A.
- List A WF creates item on list B.
- List B WF starts running on this new item BUT is delayed!
- Shortly after creation the item was changed again on list A.
- List A WF updates the item on list B (while delayed WF has not yet finished)!
- Another instance of list B WF starts.
- Both instances of list B WFs finish.
It seems as if it is possible one WF is delayed and that another WF (that was started later on another list) can finish fist. So it is not clear that the WF that started first will finish first?
It this true? I need to somehow maintain the state of the related item during a WF lifetime even if another WF will change this item in the meantime.
Thank you!
0 commentaires:
Enregistrer un commentaire