1

I have a Sharepoint list with a custom column of type People and Group (allow multiple).Now whenever I enter multiple values in this field, then on the Item added event we need to create individual tasks(create new item with assigned to field populated) for each of these users.

enter image description here

Would like to know how do i extract the individual email address/user ids in the workflow and assign them the tasks.

enter image description here

Whenever i log the above to history list, it get the values in the log correctly.

The issue is that whenever I use a single person, its assigned correctly but if I enter multiple users then it assigns only to the first user

I am using the SPD 2013 and the environment is Office 365(SharePoint online). I can do it via javascript (more dev efforts) or via Remote event receivers(more expensive) but would like to try it via Workflow. If its not possible I would also like to know if I can try it via Flow ?

Have checked this link - SPD workflow to parse string but didnt understand much

  • Did you find any solution in the end? – Danilo Nov 2 '17 at 8:06
  • @Danilo - we ended up spending lot of time and effort on this, but we came to the conclusion that Event receivers were the best way. We also had another set of complications in the form of SP groups and Ad groups inside SP groups etc . So, we dumped workflows and used Remote event receivers. – Gautam Sheth Nov 2 '17 at 8:38
0

You need to set Task Assignment to Parallel while you assigning tasks through workflow. By default it will be set to Serial(create a task for 1st person and workflow instance will wait till that user completes that task)

When we change it to parallel workflow will create tasks for each users by parallel and wait for their approvals.

enter image description here

  • 1
    Thanks a lot for your answer. But i am looking for a method to extract email address from people field and then create a separate list item with assigned to field set to individual users. – Gautam Sheth Mar 22 '17 at 12:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.