I have a model that I wish to run in a batch process. Within this model, I join an input table to another table, then calculate a value in the input table.
When running this model a single time, it works correctly. I can calculate the field value in the input table using the expression [%Join Table%].FieldName.
However, when I run this model in a batch process, it seems that each instance of the model is run in parallel, so that multiple joins are performed on the input table at the same time. As a result, I can't be sure of the names of the fields in the join table, and so the batch process fails.
Is there any way to force a batch to run each instance separately?
Thanks,
Jon.
The problem with multivalue iterators is, unless I am mistaken, they only let you modify one model parameter per model iteration. The batch dialog lets you specify a different value for every model parameter for each iteration. What I need is the ability to specify each model parameter differently per iteration like with the batch dialog, but force the processes within the model to run sequentially like with an iterator.
Is there a way to get the best of both worlds (other than the aforementioned -- write a Python script to call the model)?
Yes, 2nd that! To share a tool to our less GIS savvy users here (I would rather send them a tool that is verified than a workflow) I have to send them a seperate script to call the tool if there going to do any batch, and then explain how to use it as I do not have time to code a nice UI like the "batch" window.
Thanks
Out of interest, why is it implemented in this fashion? For my work I would always prefer it to work sequencially allowing completed data to come through quicker, rather than wait for them all to start finishing at once? I am sure there is a good reason!?