I am using workflow to standardize our naming conventions. I pretty much have it down, except where I have multi-value fields. In my template I may have a certain document that pertains to two different programs, Excess Worker's Compensation and Primary Worker's Compensation. I have a lookup to find abbreviations for these, because I obviously don't want to use the full name in my file name. I have a for each value wrapped around my query, so that for each of the program values it will lookup the corresponding abbreviation.
However, I cannot figure out how to pull both of these instances into my naming convention. Here is a snippet.
I retrieve the programs, then for each value, I query the abbreviation. I have a program token and within the for each value, I append to the program token. I am trying to get this token to be _EWC_PWC
However, it is only pulling the first program.
These are the values retrieved by my retrieve values:
This is what my Program token ends up with:
But when I pull that into my rename function, I only get _EWC.
I'm not sure what I'm doing wrong here or how to pull both PWC and EWC into my naming. I feel like I am missing something very simple.