Is it possible to add a value from DB in validation part in DU

Hello UiPath folks, I am doing a small POC to my client, where the requirement is to work with DU, at some point due to un-availability of data from the document we need to get the data from DB and add the data in validation part.
Is that possible.

It is definitely, possible
Do you know how to select data from the database?

Yes, we are designing the code based on the customer name which value has to pick