locked
"On Create" workflow fails if item created by another workflow RRS feed

  • Question

  • Background: MOSS Enterprise SP2 with Feb 2011 CU applied.

    Scenario: Two SPD workflows attached to the same list. Workflow 1 is manually initiated, no conditions and the only action is "Copy Item" with the target list being the same as the current item. Workflow 2 is set to start automatically on new item creation with no conditions and the following steps:

    1. Build dynamic string from a prefix and item ID
    2. Set a text column to the variable from step 1
    3. Stop the workflow

    The issue is this... Workflow 2 does not start when an item is created by the copy action in Workflow 1. I suspect this is a side effect of the anti-recursion logic introduced in an earlier CU but not sure. Am I missing something?

    -Eric

    Tuesday, July 26, 2011 5:59 PM

Answers

  • Hi Eric,

    If the Workflow 2 didn’t start when the new copy item was created, you need to check the user account you used whether is System account.
    If yes, the workflow 2 would not start automatically, you need to change to another non-System account and try again.

    I applied the Feb 2011 CU and the Workflow 2 started automatically, it shouldn’t be the cause.

    Thanks,
    Daniel


    Regards, Daniel
    Thursday, July 28, 2011 7:26 AM
    Moderator