rogerb
Nintex Newbie

Person or Group Field Won't Populate in Workflow

Jump to solution

I have a workflow that I'm trying to get a person or group field to populate with a SharePoint group depending on what team is selected from the form. I need to send notification to the group of an assigned task. The field does not get set in the workflow, but after the workflow completes the field is populated with the correct group name. What's the deal?

0 Kudos
Reply
14 Replies
beckettj
Nintex Newbie

Re: Person or Group Field Won't Populate in Workflow

Jump to solution

How are you choosing the team in the form? Is it via a list item update after outcome, or via a people picker field on the task form ?

 

If you're doing it via an update, have you got a "Commit Pending Changes" following it?

0 Kudos
Reply
rogerb
Nintex Newbie

Re: Person or Group Field Won't Populate in Workflow

Jump to solution

I am using an Update Item action. Yes I put a Commit Pending Changes after it. I made sure the Person or Group type specifies People and Groups. Pulling my hair out here!

0 Kudos
Reply
kunalpatel
Automation Master
Automation Master

Re: Person or Group Field Won't Populate in Workflow

Jump to solution

@rogerb ....how you're generating the name of the group? After generating the name of the group and before updating it.....can you try to log it in history and see what value is giving you? Also, I'll put that value between quotes to see what exactly I'm getting.

0 Kudos
Reply
rogerb
Nintex Newbie

Re: Person or Group Field Won't Populate in Workflow

Jump to solution

I am just using the people picker in the Update Item action. Then I tried setting a variable with the group, that didn't work either. I will try logging the variable to the history list now.

0 Kudos
Reply
rogerb
Nintex Newbie

Re: Person or Group Field Won't Populate in Workflow

Jump to solution

Ok, when I put the group name variable out to the history list this is what I get.

 

GROUP VARIABLE=877;#TEAM NAME

0 Kudos
Reply
kunalpatel
Automation Master
Automation Master

Re: Person or Group Field Won't Populate in Workflow

Jump to solution

@rogerb .....how you decide which SharePoint group needs to be selected? Is there a lookup list you're using?

0 Kudos
Reply
rogerb
Nintex Newbie

Re: Person or Group Field Won't Populate in Workflow

Jump to solution

Attached is the screenshot of what my Update Item looks like. I use the Browse function to find the SharePoint group name.

 

FYI, I typed TEAM NAME in there just as an example. The actual SharePoint group I was using resolves and is underlined.

0 Kudos
Reply
kunalpatel
Automation Master
Automation Master

Re: Person or Group Field Won't Populate in Workflow

Jump to solution

@rogerb ....In your original post, you mentioned that based on the team selected on the form, the workflow populates the SP group, but based on your screenshot it seems you're hardcoding the SP group (which is confusing for me !!!)

 

Instead why don't you use team field (item property) and build string action to build your SP group name and store it in SLT variable and use that variable to assign permission?

0 Kudos
Reply
rogerb
Nintex Newbie

Re: Person or Group Field Won't Populate in Workflow

Jump to solution

Ah, I've solved it! I just put a one minute pause after the update and that's got it sorted.

0 Kudos
Reply