Hi Team,
I have a requirement
In the attached work flow, I need help writing a formula
1) If the producer_No is 10 characters long, check if 3rd character is a '-'(dash), if its a dash remove that or else keep the producer no
example:
10 digit producer_No(03-0439658) output need as 030439658
2) If producer_No is 9 digit or character long then take left two digits and concatenate with two zeros('00') and concatenate those with right 5 digits.
example:
9 digit Producer_No (320937827) output needed as 320037825 (32+00+37827)
3) If producer_No is 5 or less characters or digits add zeros to the left to make it 8 characters
example:
5 or less (06150) output needed as 00006150
4)IF agency_Code is blank fill with Producer_No if it has any.

Thanks
Kavya