<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Batching for looping process</title><link>https://community.appian.com/discussions/f/best-practices/23850/batching-for-looping-process</link><description>I want batching for looping process suppose i have 1000 id&amp;#39;s and i want to execute loop with 200 batchsize. 
 a!forEach( items: local!id, expression:fvi!item 
 )</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Batching for looping process</title><link>https://community.appian.com/thread/114082?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 07:33:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7aad1087-a4e9-4bbe-8423-9169fe5e64e7</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Using XOR won&amp;#39;t increase the calls. Why do you think it will? Also, I suggested you a way to batch the data. You can implement to batch.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Batching for looping process</title><link>https://community.appian.com/thread/114080?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 07:23:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0a584419-799f-4262-be4a-c0e843bf4ade</guid><dc:creator>shivams5867</dc:creator><description>&lt;p&gt;actually, we need to reduce transaction calls and the load on the process.&lt;br /&gt;AFAIK, using a variable and an XOR will increase the transaction calls, and writing the data all at once will increase the load.&lt;/p&gt;
&lt;p&gt;That&amp;#39;s why we need to do it in batches.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Batching for looping process</title><link>https://community.appian.com/thread/114068?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 06:47:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:125f100d-79c9-43be-8be2-45788bd8c1f5</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You can build a loop in a process model with the help of an integer variable and an XOR. Keep incrementing the variable until you reach the total count. But what is the use case of writing the data in batches instead of all at once?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Batching for looping process</title><link>https://community.appian.com/thread/114064?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 06:23:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b6acb378-2237-4234-81fd-d13c3257e988</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did you read this?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/looping.html"&gt;https://docs.appian.com/suite/help/23.2/looping.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/23.2/looping.html#how-to-build-a-loop-flow-in-a-process-model"&gt;https://docs.appian.com/suite/help/23.2/looping.html#how-to-build-a-loop-flow-in-a-process-model&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Batching for looping process</title><link>https://community.appian.com/thread/114062?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2023 06:05:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7705c9d5-c45b-4d28-a3a2-52ad49214f90</guid><dc:creator>shivams5867</dc:creator><description>&lt;p&gt;Hello Stefan, I have a similar issue. I want to run a process model but I want to write the data to database in batches of 10-20.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Batching for looping process</title><link>https://community.appian.com/thread/91701?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 09:50:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0e2156a7-c4cc-466d-aaa3-cf4a54059a03</guid><dc:creator>GopalK</dc:creator><description>&lt;p&gt;Hi Yogesh,&lt;/p&gt;
&lt;p&gt;Are you planning to use queryEntity in loop?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Batching for looping process</title><link>https://community.appian.com/thread/91700?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2022 09:43:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c5da4a2a-827d-4cb6-9d0d-727771db6a9b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Can you give us a bit more background?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://codeblog.jonskeet.uk/2012/11/24/stack-overflow-question-checklist/"&gt;codeblog.jonskeet.uk/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>