<?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>Concurrency issue due to parallel processing</title><link>https://community.appian.com/discussions/f/process/21431/concurrency-issue-due-to-parallel-processing</link><description>In our Appian application there is a Process Model which is associated with a Form and it is used for updating some user performance related data along with some status information like Enabled, Started, Initiated, Acknowledged and Filed. The Form is</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Concurrency issue due to parallel processing</title><link>https://community.appian.com/thread/83752?ContentTypeID=1</link><pubDate>Fri, 16 Jul 2021 11:50:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:29a50f3e-4b50-4f99-b6cc-70902d74cf8a</guid><dc:creator>SurajitSen</dc:creator><description>&lt;p&gt;Thank you for your suggestion. I shall recheck all the nodes which you have mentioned.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Concurrency issue due to parallel processing</title><link>https://community.appian.com/thread/83652?ContentTypeID=1</link><pubDate>Wed, 14 Jul 2021 14:46:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7d17adcb-cac2-4713-b4a1-9dfd01aed931</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;As you note that only one user can act on one data set at a time, and it appears pessimistic locking is implemented to handle this, I would not expect any amount of concurrent processes using the same &lt;em&gt;interface &lt;/em&gt;object, but different &lt;em&gt;data&amp;nbsp;&lt;/em&gt;sets, to cause any issues that revert data unless there is a design situation allowing such.&lt;/p&gt;
&lt;p&gt;Are locks granted at &lt;span style="text-decoration:underline;"&gt;both&lt;/span&gt; the Add Editing User and Update Status node?&amp;nbsp; For instance, if a lock was not granted at the Update Status node, a second user could begin and complete an Edit.&amp;nbsp; After that time if the initial Update process&amp;#39;s MER Form node timed out to the Remove Editing User node - if that node is updating the full data set which was queried into a process variable prior to the edit, it would revert any edits made through the other process.&amp;nbsp; Just a thought - as it appears the &amp;quot;Button?&amp;quot; XOR allows the process to close without updating any data / removing locks (unless you are doing so on the form with a!writeToDataStoreEntity().&lt;/p&gt;
&lt;p&gt;Additionally, are you able to locate any specific instances which have &amp;#39;reverted&amp;#39; the data for troubleshooting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>