Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Problem with Designer Workflow

  Asked By: Kris    Date: Jul 06    Category: Sharepoint    Views: 1563

I am working on a Designer workflow. At one point, it creates a list
item in another list and updates a few fields in that list for the new item.
This was working fine until some change was made to the other list. After
this change, the workflow keeps failing the Create List Item step, though
the other steps before this, still get executed properly. On checking the
workflow status, the error is "Error Creating a List Item". The changes to
the other list have been reverted back, but of no use.
But I created another small test workflow to check what is going wrong.
But nothing seems to be wrong. From this test workflow, I am able to create
a list item in that list. Now I am stuck. I don't know what is going wrong
with the actual workflow.Please help me.
Also, I need to know how to assign values to look up fields in the target
list while creating an item. Please respond at the earliest.



11 Answers Found

Answer #1    Answered By: Akanksha Jain     Answered On: Jul 06

Is this workflow  being triggered by an anonymous user?

Answer #2    Answered By: Bhupendra Borkar     Answered On: Jul 06

No, It is not triggered by any anonymous user.

Answer #3    Answered By: Shobhana R.     Answered On: Jul 06

Do you need to make references in your workflow  point to the newest columns?

Answer #4    Answered By: Winston Ayers     Answered On: Jul 06

Yes, I need to. The target list  where I have to create  a list items
underwent some column changes. Then things started breaking.

But a new test workflow  works fine.

Answer #5    Answered By: Moshe Harding     Answered On: Jul 06

I'm wondering if, "went through some changes," includes deleted columns getting
re-added. Even if the name is the same you will need to re-select the columns
from the workflow  wizard to re-attach the reference to the columns. Even the
name will show up properly  but it isn't the same column GUID.

Answer #6    Answered By: Carly Meyer     Answered On: Jul 06

Whatever changes the list  underwent, I readded those columns by properly
referencing them in the workflow. But still it doesn't work.

Answer #7    Answered By: Dewayne Clay     Answered On: Jul 06

How big is the offending step? Can you destroy and re-create it without too
much trouble?

Answer #8    Answered By: Angelina Newman     Answered On: Jul 06

I tried doing that step  alone, but it didn't work. The point  here is, if a
list undergoes a change(which is quite possible) and the workflow  needs to
be rewritten to accommodate these changes, then it is absolutely weird. I
noted one more thing about the rules file. It keeps growing in size, even if
we delete a few conditions and add just one. This is absolutely weird. Is
there a way to update the rules to delete unused to deleted conditions?

Answer #9    Answered By: Shannon Fleming     Answered On: Jul 06

I would say break that part of the workflow  out to its own workflow if possible.
Make the Copy list  Item action its own deal. I also like Phread's suggestion to
check on Read-only conditions on the new list. Maybe the copy list doesn't like
you to write to a read-only column...

You might try to make a new list from the template of the original one to make
sure you are using a good copy of the template.

Answer #10    Answered By: Aditi Msc     Answered On: Jul 06

Check that all the fields  in the Create list  Item are being filled out
correctly. If the change  to the second list added a new field or made  one
required etc, make sure those changes are covered in the command.

If that doesn't work, then the infamous 'delete the command and re-add it'.

Answer #11    Answered By: Abinav Basu     Answered On: Jul 06

I tried all these, but no result.

Didn't find what you were looking for? Find more on Problem with Designer Workflow Or get search suggestion and latest updates.