Skip to main content
Nintex Community Menu Bar
Question

People picker assign task


Forum|alt.badge.img+1

I have a form where the user needs to select the reviewer using a people picker object.  When using this collection as the ‘assignees’ for a task in the workflow, it throws an error: [Task.FailureInitiatingTask] Failed to initiate task 

I also tried extracting the e-mail from the user collection and this also doesn’t work.

This seems like it should work natively since it is picking from valid NAC users, and it allows you to select the collection for the ‘assignees’ field in tasks.  What am I missing?

Translate
Did this topic help you find an answer to your question?

7 replies

Forum|alt.badge.img+15

Do you have SSO enabled and user directory lookup configured?

Translate

Forum|alt.badge.img+15

See help documentation on user directory lookup with tasks. https://help.nintex.com/en-us/nwc/content/designer/Actions/AssignaTasktoMultipleUsers.htm

Translate

Forum|alt.badge.img+8
  • Apprentice
  • 63 replies
  • June 25, 2024

You say you tried extracting the value but it failed?  That’s odd.  It should allow you to extract it by looping through the collection.  It works for me with this simple loop--

Can you send a few screenshots of your attempt to extract it?

Translate

Forum|alt.badge.img+1
  • Author
  • Rookie
  • 4 replies
  • June 25, 2024
brandiwoodson wrote:

Do you have SSO enabled and user directory lookup configured?

Yes through MS Entra/AAD

Translate

Forum|alt.badge.img+1
  • Author
  • Rookie
  • 4 replies
  • June 25, 2024
PabloL wrote:

You say you tried extracting the value but it failed?  That’s odd.  It should allow you to extract it by looping through the collection.  It works for me with this simple loop--

Can you send a few screenshots of your attempt to extract it?

 

Hmm, no didn’t fail to extract the e-mail from the people record selected (though I tried doing it through updating a hidden field in the initial form).  That succeeded, but it gave another error about not being assignable - perhaps because auth is turned on for the task assignee.

Translate

Forum|alt.badge.img+1
  • Author
  • Rookie
  • 4 replies
  • June 25, 2024
PabloL wrote:

You say you tried extracting the value but it failed?  That’s odd.  It should allow you to extract it by looping through the collection.  It works for me with this simple loop--

Can you send a few screenshots of your attempt to extract it?

 

I tried this approach and now it’s not parsing the e-mail out of the collection.  Looping on the collection (though people picker is not set to multi so only returning one record?).  It shows the e-mail loading properly as text in a textbox in the form itself (extracted with rule/formula).

 

 

Translate

Forum|alt.badge.img+1
  • Author
  • Rookie
  • 4 replies
  • June 25, 2024

So I managed to solve this by storing the e-mail as a form variable and calling it directly.  None of the other methods seemed to work.  Also appears using a rule to update a hidden text field value doesn’t fire, which is why the text field method wasn’t working.

 

Still unclear why a people picker collection in NAC form won’t natively work in NAC workflow task assignment objects.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings