I am trying to update multiple items of a task list in a loop. But when my workflow reaches the step "Update an Item", it throws an exception "value does not fall within the expected range" while updating the first item itself. Couldn't make out why this is happening. Any suggestions are most welcomed.

The field I am trying to update is "Assigned To". Furthermore there's another workflow which creates the items in the Task List before they get updated.

User that runs the workflow should have access to the Task List item I am trying to update as I made him task process owner for this task beforehand.


The tasks were created using a 2010 workflow, so if I update any item of tasks List using a 2010 workflow it works fine. Catch is now if I try updating using a 2013 Workflow, it doesn't work.

  • We've got not that much information on this issue. What kind of field are you trying to update with what kind of value? Sep 15, 2016 at 9:15
  • The field in task list is of datatype "person or group", I am trying to update this field with a value entered by user of datatype again person or group. (Form initiation parameter - returned as Login name)
    – mohd tahir
    Sep 15, 2016 at 9:30
  • Ok, Im just running a quick workflow test on my environment right now as I think that I usually use user id rather than login name but will have to confirm first the login name approach fails for me. Sep 15, 2016 at 9:45
  • Quick update - I've done as you described (updating list item in Task list, using Login Name) and failed to reproduce your issue, it worked fine. Does it fail for you for all users or just some? Does it happen on other lists as well? Sep 15, 2016 at 10:07
  • See I am trying to update the Field "Assigned to".There is another workflow which creates these tasks in "Workflow Tasks". I made one User 'A' the task process owner for this task within the same workflow. Now the next workflow using which I am trying to update the item: SPD logged in user is the same user, USER 'A', so what I feel is that this workflow should have the right to update items in this task list.
    – mohd tahir
    Sep 15, 2016 at 10:13

1 Answer 1


I were able to achieve it this way:

As I were able to update an item in the task list using 2010 workflow, so I did this by triggering another list workflow within the same 2013 workflow. I passed the appropriate parameters for the 2010 workflow for each iteration of the loop. Now I could achieve this workaround with the combination of a 2013 and 2010 workflow.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.