Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Dynamic validation on a table in oracle

hima_shar
8 - Asteroid

Hi All,

 

I have a scenario.

 

I have a source table named Tbl_Customer in oracle like below.

Customer_idCustomer_nameAddressPhonenr
111abcxyz981234567
222defpqr987654321

 

I have to put some validations like null checks, length checks, pattern_checks on these source columns. however we have a reference table to decide which column will have what check. just like below.

Table_nameColumn_namenull_checklength_checkpattern_check
Tbl_CustomerCustomer_idYYY
Tbl_CustomerCustomer_nameYNN
Tbl_CustomerAddressNNN
Tbl_CustomerPhonenrYY N

 

 

Here Y means we have to put that check, N means check not required for that column.

 

Can someone please help me achieve this in Alteryx? What steps and set of tools should I use so that my workflow dynamically check for validations specified in the reference table?

 

Regards

Himanshu

 

 

 

 

 

 

 

 

 

 

2 REPLIES 2
jrgo
14 - Magnetar

Hi @hima_shar,

 

Some tools you can try is the Field Summary tool (Data Investigation category). This is actually a macro that you can open up if needed to get a better understanding of what it's doing and customize if needed. The Dynamic Replace is also pretty versatile tool that. Hard to explain, but allows you to create dynamically generated expressions and apply them to fields if a bool condition is met.

 

Hope this gives you some ideas!

 

Best,

 

Jimmy

hima_shar
8 - Asteroid

Thanks Jimmy. It helps

Labels