one of the field person and group can have more than one value I want to get those values in the work flows and send mail to the respective users in the workflow
in the site workflow how to set that variable for that filed
You will need following steps:
Create following Variables:
person (Person or group)
You have to use regular expression control. Enter following values:
Pattern = ;(Semicolon)
Operation = Split
Replacement Text = leave it empty
Input Text = enter the variable having all the names as a bunch from insert reference option. Variable should be under Workflow Variables tab.
Store Result In = use a collection variable "col" to store the result.
Use for each loop. In this, enter following values:
Target Collection = Collection variable used to store values in step 1.
Store Result In = use a person type variable "person" for this field.
Inside for each loop, use send notification control with "person" variable in the To field.
It should work. All the best.
Retrieving data ...