Process Model

Hi! As I am new to Appian, so I have faced a problem while creating a process model.

I wanted to know how can we check in a process model whether the employee id of the user already exists in the database but is in the inactive state or it is a new user? 

  Discussion posts and replies are publicly visible