I have process which registers new employees in HR system.
I have string which contains job title. There is 15 possible job titles. I need to put number based on the job title to HR system. One number is associated with more job titles “doing the same thing”.
My idea was to use regex in Switch activity to assign same number to job title.
For example I have titles “Sale manager, Sale representative, Sales personel” so for all titles containing words “sale, sales” I would output same number.
Is it possible? I didn’t find a way how to do it because I didn’t find way how to make key in Switch Activity dynamic.