MOSS Forum

Ask Question   UnAnswered
Home » Forum » MOSS       RSS Feeds

Workflow creating an extra item?

  Asked By: Nadia    Date: Mar 15    Category: MOSS    Views: 619

MOSS 2007 Enterprise, SharePoint Designer workflows,
custom New/Edit/View forms.

I have a main list -- we'll call it the parent -- that contains some list
items. When one is changed, it kicks off a workflow that creates a child
item in another list for each field that was changed. There is a unique
identifier for each parent that helps to identify each child (along with the
ID in the linked field).

All was going well, until for some reason today -- as we put some changes in
-- I noticed that in some cases, the update results in the creation of an
additional parent item with corresponding "changed" records in the child
list. When this happens, I'm using a secondary Edit form. There aren't any
"New" fields in there by mistake, so I'm not sure how this is happening; I
don't even know how to Google the problem.

Any thoughts, leads, etc?



3 Answers Found

Answer #1    Answered By: Maribel Todd     Answered On: Mar 15

We've long (1-2 yrs) had a situation in MOSS2007 whereby "phantom" rows get
created as a result of a custom edit form whose records are filtered by
current user. It seems to be associated with the tiny arrow icon that takes
you to the next record (if any). We never solved the underlying problem but
made it go away by building our own form from scratch. We had one of the
"known, named" gurus look at it, and he said he guessed that somehow the
list's default edit form was getting called/triggered.

Answer #2    Answered By: Akshara Negalur     Answered On: Mar 15

Interesting. That gives me an idea. We have multiple custom edit forms for
the parent list and we're not using content types -- I know, I know -- and
we had some "switching" trouble when building the original forms. I wonder
if a band-aid fix would be to make one or more fields required (right now we
do custom validation based on the edit form because the requirements vary).
That would keep additional records from being created, even if it didn't
nail the problem at the source.

Answer #3    Answered By: Timothy Davis     Answered On: Mar 15

I can't speak to exactly why you are seeing this issue though we have seen the
same thing before. As you have already stated it was because we were messing
with the default new/edit/disp forms.

We also learned the hard way what content types were good for.

Didn't find what you were looking for? Find more on Workflow creating an extra item? Or get search suggestion and latest updates.