-
What would be WUs implication here? I was recently running a recursive workflow which had probably 2-3K records to begin with and reducing with each invocation. Those invocations caused 100+ WUs for each invocation itself (Just the invocation of recursive workflow, not the actions within workflow. And invocation didn’t have anything just calling the API and list=list-1 kind of thing. No DB call, nothing). I ended up spending about 400K WUs in a few hours of updating one field on 2-3K records.
So I am really keen to know what would be the WU calculation here. -
My workflow that I mentioned in my previous point was also something similar to the example you gave. I had run some whatsapp campaigns and had to note down for users as to how many notes have been sent to them in past. If such a small update can cost 400K WUs for 2-3K users, I wonder how are we supposed to build production applications in 175K WUs for a month all things put together. I was also told that WU consumption was this high for my workflow because I had long list in my recursive workflow (while that has been the recommended way of list operations). So it is important to understand WU implications and if they are connected with length of the lists, size of the elements etc as @georgecollier has also mentioned.
-
The example that you gave is not quite clear. You said that we may want to do two things, “sending the email to the user and updating the field when they were contacted”. Did you mean that we need to do two separate “run on list” workflows for this? Or you meant to say that the workflow “monthly-email-cpn” that you have does both the things, updating the user field and sending email?
Really? I thought we were recommended to use this for only 100 items in a list earlier.
Like @georgecollier has commented, what is the meaning of 10x? As per earlier note that I have we could run this function only for 100 elements. So now can we run it for 1k elements?
Great questions. +1 to these.
+1 And also when deleting 100K rows doesn’t empty yours and neighbour’s bank accounts.