<?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>How to handle the multi-screen problem?</title><link>https://community.appian.com/discussions/f/user-interface/28016/how-to-handle-the-multi-screen-problem</link><description>Any thoughts on how we can handle this problem?Did anyone else faced similar issue and how did you handled it? 
 Many times recently we have cases that get &amp;quot;stuck&amp;quot; are doing so because someone processes on them twice. There&amp;#39;s three flavors of this: 
</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to handle the multi-screen problem?</title><link>https://community.appian.com/thread/109030?ContentTypeID=1</link><pubDate>Wed, 08 Mar 2023 16:47:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:95c41d8f-cefc-4a41-8b60-3aac6b286d0b</guid><dc:creator>jasmithak</dc:creator><description>&lt;p&gt;By Implementing Optimistic lock and pessimistic lock.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Optimistick lock works for option 1 and 3, Have &amp;quot;version&amp;quot; column in the main table and check for version before writing to DB,&amp;nbsp;if it is in lower version then write to DB else route it back to UI saying data is modified by other.&lt;/p&gt;
&lt;p&gt;Pessimistic lock for option 2, have column in db &amp;quot;isLocked&amp;quot; if anyone opens a related action to update the case record, set &amp;quot;islocked&amp;quot; flag as true, when other tries to update the same case if &amp;quot;islocked&amp;quot; is set to true dont show the related action or dont allow them to update the case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>