Forum Discussion

ruchi_pandey's avatar
ruchi_pandey
New Contributor II
6 years ago
Solved

How to use "contains" function in router? I am getting error of expression failure

Hi guys, I am trying to use router with diff data scenarios, where I have to give conditions like: 1) ($DIFF_REC_COUNT<0) && (_PIPELINE_NAME.contains(‘DI_AVT_DH_PERSON_TYPE_ODS’,‘DI_AVT_DH_PERS...
  • ruchi_pandey's avatar
    ruchi_pandey
    6 years ago

    I solved this issue actually…
    I gave this exp and it worked.

    ($DIFF_REC_COUNT<0) && (_PIPELINE_NAME.contains(‘PERSON_TYPE_ODS’)|| _PIPELINE_NAME.contains(‘PERSON_CITIZENSHIP_ODS’)|| _PIPELINE_NAME.contains(‘PERSON_LANGUAGE_ODS’) )

    THanks for your quick response though… 🙂