Good morning,
Wondering about the best way to check against a iterated token on a condition in a routing decision.
We have a form that has a persons information. This information is in a collection as there could be more than one person. In our workflow we have a For Each Value loop based on the number of First Name fields in the form. So our For Each Value is based on
(%(RetrieveBusinessProcessVariables_Dependent_Informatiom\pplfirstname)
Now we get to the middle name point. The form filler either selects Yes and puts in their middle name. Or they pick no. Once submitted the condition checks to see if the middle name radial is Yes or No (in our case we are actually assigning values to the Yes/No so the condtion is 1 or 0).
If No middle name, then we want to assign NMN. If Yes middle name, then we want to pull the middle name from the form.
We have no problem with the logic and things seem to work. However we cannot seem to check the iterated token. For example we are also assigning metadata after the fact. All of those fields have to be iterated.
So when assigning values:
First Name is %(RetrieveBusinessProcessVariables_Dependent_Informatiom\pplfirstname#[%(ForEachValue_Iteration)]#)
Last name is Last Name%(RetrieveBusinessProcessVariables_Dependent_Informatiom\ppllastname#[%(ForEachValue_Iteration)]#)
Our condition is this:
However cannot click on the token and set the iteration like all other menus. I want the token to be
(%(RetrieveBusinessProcessVariables_Dependent_Informatiom\nomiddlename#[%(ForEachValue_Iteration)]#)
Any ideas as to how to check the current iteration of a token within Workflow?
Thanks,
Chris