<?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>write many times to database</title><link>https://community.appian.com/discussions/f/new-to-appian/24718/write-many-times-to-database</link><description>Hi everyone, 
 I have a question related to write to data store entity many times inside a process model, I am new at Appian and I start to build a process model for a complex issue. 
 in my application there is a submit form and a 5 reviewers who should</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: write many times to database</title><link>https://community.appian.com/thread/95662?ContentTypeID=1</link><pubDate>Sun, 29 May 2022 05:11:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:16807f6f-bafc-4524-b3b2-343e120400c8</guid><dc:creator>daliar0002</dc:creator><description>&lt;p&gt;Thank you, it works for me&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: write many times to database</title><link>https://community.appian.com/thread/95574?ContentTypeID=1</link><pubDate>Thu, 26 May 2022 17:54:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9f48a3ed-c822-4ae4-8722-fe5a5e9cfea7</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Each node inside process will occupy some memory and also it may impact on performance of overall application. It is always better to split the process into multiple reusable process with similar functionality. In your use case for all your write node saving same data I believe, so I would suggest you to create a sub process with this write node. It gives flexibility in terms of data management, archival and also&amp;nbsp; for maintenance. If you ever want to update this write to data store entity node you can modify one&amp;nbsp;place it will effect all other places immediately. As Dave mentioned if all user review tasks have similar UI try to create a process for a single review and loop through single process for all reviews by passing right data into that sub process.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: write many times to database</title><link>https://community.appian.com/thread/95572?ContentTypeID=1</link><pubDate>Thu, 26 May 2022 14:56:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d7276ec5-a5a6-4be9-a035-1243ac354a25</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;You could take a single chunk, such as for the first reviewer, save that as a process model, and then call it 4 times.&amp;nbsp; Another thing you could try, if you are brave and daring, is to put an XOR at the end, one fork which leads to terminate, the other leads to subprocess node.&amp;nbsp; If it&amp;#39;s the last reviewer, terminate process.&amp;nbsp; Otherwise, asynchronously call the same PM with the next reviewer.&amp;nbsp; Yes, process models can call themselves as a subprocess.&amp;nbsp; By doing it asynchronous, the process for the first reviewer, the second reviewer, and the third are already dead and waiting to be archived by the time the fourth reviewer gets the task.&amp;nbsp; So the amount of process you need lives only as long as needed; hyper efficient.&lt;/p&gt;
&lt;p&gt;The reason you have to be brave and daring is because if you get the escape wrong, these processes can call copies of themselves forever.&amp;nbsp; They are, however, easy to find&amp;nbsp;and cancel&amp;nbsp;if that should&amp;nbsp;happen in your case.&amp;nbsp; Have fun!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: write many times to database</title><link>https://community.appian.com/thread/95552?ContentTypeID=1</link><pubDate>Thu, 26 May 2022 10:41:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:53be65e9-358a-4b40-bbd6-b5112140752b</guid><dc:creator>daliar0002</dc:creator><description>&lt;p&gt;Thank you I will try it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: write many times to database</title><link>https://community.appian.com/thread/95550?ContentTypeID=1</link><pubDate>Thu, 26 May 2022 10:35:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ba1ad2f2-6102-463c-9fd9-628d5a686b3d</guid><dc:creator>vikashk739</dc:creator><description>&lt;p&gt;Hi, you can make a group of users to whom tasks needs to assigned. After that you can use MNI to let each assignee complete their task. To configure MNI, use link&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/21.1/Process_Node_and_Smart_Service_Properties.html#"&gt;docs.appian.com/.../Process_Node_and_Smart_Service_Properties.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>