Forum Discussion

OSAdmin's avatar
OSAdmin
Valued Contributor
5 years ago

Can I write a mask rule that says rule expression * and target value CC_*?

Originally posted by Rich House

4/22/2020

Hi, can I do this in transformation rules. I have cost centres 10001, 10002, etc. in the source in OS I have CC_10001, CC_10002 etc. Can I write a mask rule that says rule expression * and target value CC_*?

  • OSAdmin's avatar
    OSAdmin
    Valued Contributor
    Originally posted by Rich House

    I had a go and the answer is yes

  • Oscar's avatar
    Oscar
    Contributor

    Hi ... Can you expand on how you achieved the mapping ... From the Source we have:

    50001_STAT, 50002_STAT, ..., 59999_STAT We want to do something like:

    SourceTarget
    5*_STAT5*_STAT