I call a web service and try to create a personnel list. I have totally 860 persons after 400 my workflow give error and stop.
I have for each action and collect date from Web Service. I try to put wait for 1 minute it took 860 minutes.
How can I create my list and daily clear list and create again.
Solved! Go to Solution.
Are you making the web service call for each of the 860 people - sounds liek it? Are you able to make one call at the start, prior to the for each to gather all the data and then extract the detail out of the returned xml within the for each?
I call web service just one time and collect person data with variables.
Then I run For each for personId It write my list person name, Phone etc.. only 400 person then give error.
Any more info you can provide on your error? In the past i had done similar list cleanup/repopulate work using nintex workflow, following are some of the issues/notes i remembered:
- "Delete Mutiple Items" and "Commit pending changes" worked very well with deleting everything in a list
- Column type mismatch when creating/updating items
- "Log in history" helps diagnosing and identifying exactly where and what has gone wrong
Hope this helps.
Hello tasSerdar Ak,
do you use the Create item action in a For each loop?
If so, please try to add a Commit pending changes action after the Create item, as you dont necessarily need the Pause action.
Here is some information regarding the Commit pending changes action:
I had similar issue. To resolve this, I used Commit Pending Changes and it worked. I believe what happens is that the Nintex Queue gets overloaded and it causes the workflow to fail. Although I am not sure why the workflow fails, Commit Pending Changes did worked for me.
An additional suggestion could be to put a pause inside the loop action based on the iteration index, so you can pause every 200/300 iterations.