Skip to main content
May 15, 2023
Question

Comparing user input data with DB data in process model

  • May 15, 2023
  • 3 replies
  • 0 views

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 will generate a specific document including those data

Thank you in advance

3 replies

stefanhelzle0001
Brainy
May 15, 2023

OK. You described what you want to achieve, but not what you already did. Do you want to add that?

kazin3032Author
May 15, 2023

Hi Stefan,

Thank you for responding,

I 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

stefanhelzle0001
Brainy
May 15, 2023

Well, this is not much details ... lets get the guessing game started.

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.