Assigning a task to people stored in a list

  • 1 August 2018
  • 2 replies
  • 5 views

Hi,

I'm a fairly new user so forgive me if this is fairly basic!

I'm currently trying to create a flow that assigns a task to a group of people based on a set of criteria (Eg: assign task to all persons in team A or team B depending on what type of task it is)

However the main problem I'm finding is since the people who the task will be assigned to can change regularly, I need to store the people in a reference list. This is so that when these people are changed, it doesn't require the flow to be re-published, meaning the tasks currently in progress don't get restarted.

Here is what my flow currently looks like. The two sides of the switch will be the same, but with some minor changes, so I only showed one side here. The reference list (CTS Incorrect Kits Teams) contains two columns, a person column and a team column. The person can only select one person, and the team can either be set to competitor or internal.

217905_pastedImage_1.png

Whenever I run this, the workflow status comes up as suspended. I have a feeling its because the query list doesn't return the emails in a format that the start a task process can handle, but I'm not sure how to change this!

 

Thank you in advance for any help anyone can provide!


2 replies

Badge +11

Matt Shelley

Just as a check, before the task process, please use Lg to history list and check if you are getting any Null or empty values. There could be an error while retrieving the email of the people too. you can disable the task action and see if the workflow runs correctly or not. Trial and error to narrow down the issue.

Hope it helps.

Managed to get it working in the end  Just stored the emails in a multiple line text box, using semi colons to separate them

Not sure if this was a proper fix, but it worked anyway

Reply