I want to generate a code from User VAT ID first 4 + last 2 characters + user’s company name’s first 3 character. truncated to 4 gives no result, truncated to 3 gives 1 character.
See this example - screenshot from database and Workflow change user referral code
VAT ID: DE314842978
Company Name: PepMelon
result should be: DE3178PEP
it gives: 78P
I tried write it out preview, the result is the same. User Data saved before calculation, in another workflow. VATID is in the database at the user. Also not a privacy question, because in that case “:truncated from end to” would not work either. So it should do the work.
Any idea?
Thanks in advance!