If else then condition

How to write
if else then
condition by using Ataccama regular expressions.

Hello Beeram,

You can have a look at the following documentation on Conditional Expressions here. You can also find this information inside DQA, by clicking on the question mark in the lower left corner of your screen when you open a step. Here is an example of a basic iif and case expression:

  • iif(src_string = '1', 'String is 1', 'String is different than 1')

  • case(src_string = '1', 'String is 1', src_string <> '1', 'String is different than 1')

Based off this you can create more complex logical conditions. I hope this was helpful.

Kind regards,
Aleksandar