<?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>Comparing user input data with DB data in process model</title><link>https://community.appian.com/discussions/f/new-to-appian/28682/comparing-user-input-data-with-db-data-in-process-model</link><description>Hello, 
 I am new to Appian. I have a user input form and a pre-populated database. What I want to achieve here is, after the user submits the form, in the process model, both sides of the data will be checked, and if the data matches, the process model</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Comparing user input data with DB data in process model</title><link>https://community.appian.com/thread/112769?ContentTypeID=1</link><pubDate>Mon, 15 May 2023 19:17:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:57be3455-61a2-458c-9f51-0ddbd0584035</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Well, this is not much details ... lets get the guessing game started.&lt;/p&gt;
&lt;p&gt;So I assume that you have the user entered data stored to process variables. I suggest to write your expression in a way that it directly accepts that data as rule inputs and implement the comparison logic in that expression. It should only return a boolean true or false. Then use this expression in an XOR node in the process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Comparing user input data with DB data in process model</title><link>https://community.appian.com/thread/112767?ContentTypeID=1</link><pubDate>Mon, 15 May 2023 18:36:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3f92c8ae-45b8-4bbc-a893-aa43ea7749fd</guid><dc:creator>kazin3032</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Thank you for responding,&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;created the expression rule to query the existing data from the database, I wanted to understand how I can use it in the process model to do the checking with the user input data&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Comparing user input data with DB data in process model</title><link>https://community.appian.com/thread/112766?ContentTypeID=1</link><pubDate>Mon, 15 May 2023 18:19:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1e1a866f-3cd5-47af-92b3-02056681ff25</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;OK. You described what you want to achieve, but not what you already did. Do you want to add that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>