Use Person/Group Picker in Infopath form to send multiple contacts to a SharePoint Workflow

Working on a Policies and Procedures form in Infopath 2010. We have a single field where a user can select multiple reviewers for the workflow. The problem is, I couldn't seem to access this group in SharePoint Designer's workflow tool. This is the workaround.

Add a hidden plain text field - I called mine 'Reviewers'
Set the default value to this formula
eval(eval(Person, 'concat(pc:AccountId, "; ")'), "..")
You may have to manually select the 'Person' part (see below).


Be sure to select the person folder and click OK.
In the field properties, make sure the 'Refresh value when formula is recalculated' box is checked.
The formula above will select each person from the group and separate them by semi-colons (see below).


use this Test box field(Reviewers String) in the workflow (To address).


Please use the original post:http://somethingcode-ish.blogspot.com/2012/08/use-persongroup-picker-in-infopath-form.html

Comments

Popular posts from this blog

SharePoint 2016 and 2019 Ports

PsConfig step by step /Configuration Wizard. “Upgrade Available” vs “Upgrade required”

Unlock the SharePoint site using Powershell command