$ 0 0 input filed is coming in as 201305, i applied following mapping rule to get output field as 052013 but is coming out as 52013. substr(inputfield,5,2)||substr(inputfield,1,4)