Assign a task to multiple users - PowerApps

%3CLINGO-SUB%20id%3D%22lingo-sub-195492%22%20slang%3D%22en-US%22%3EAssign%20a%20task%20to%20multiple%20users%20-%20PowerApps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-195492%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20working%20on%20a%20project%20through%20PoweApps%20and%20I'd%20like%20to%20know%20how%20to%20assign%20a%20Task%20to%20multiple%20users%20at%20the%20same%20time%20using%20%7Bassignments%3A%7D%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ealready%20it's%20working%20with%20me%20with%20single%20users%20only%20!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-195492%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EPlanner%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerApps%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-319910%22%20slang%3D%22en-US%22%3ERe%3A%20Assign%20a%20task%20to%20multiple%20users%20-%20PowerApps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-319910%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20joys%20of%20evergreen%20%3A)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20saw%20a%20flow%20a%20while%20back%20that%20notified%20you%20when%20connectors%20were%20added%20and%2For%2C%20presumably%2C%20updated%20-%20Might%20be%20worth%20digging%20into%20this%20a%20little%20more%20to%20keep%20track%20-%20I'm%20always%20finding%20things%20I%20can't%20do%20that%20are%20'in%20the%20pipeline'%20and%20then%20I%20forget%20about%20them%20only%20to%20find%20a%20few%20months%20later%20they're%20in%20and%20working.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20once%20spent%20a%20week%20working%20on%20a%20Graph%20Planner%20connector%20to%20copy%20and%20migrate%20tasks%20and%20plans%20only%20to%20find%20out%20the%20Planner%20Connector%20had%20been%20out%20a%20month%20already%20%26gt%3B%26lt%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-319459%22%20slang%3D%22en-US%22%3ERe%3A%20Assign%20a%20task%20to%20multiple%20users%20-%20PowerApps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-319459%22%20slang%3D%22en-US%22%3E%3CP%3EHmmmm...%20that's%20one%20of%20the%20formats%20I%20tried%2C%20but%20it%20didn't%20work%20for%20me%20previously.%26nbsp%3BWhen%20I%20tried%20again%20today%2C%20the%20Flow%20action%20includes%20placeholder%20text%20that%20documents%20that%20format%20-%20and%20it%20worked.%20%23woohoo%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-319438%22%20slang%3D%22en-US%22%3ERe%3A%20Assign%20a%20task%20to%20multiple%20users%20-%20PowerApps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-319438%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt's%20a%20semi-colon%20separated%20list%20of%20strings%20containing%20user%20ids%20or%20email%20addresses%20of%20the%20users%20to%20assign%20this%20task%20to.%26nbsp%3B%20To%20add%20more%20than%20one%2C%20just%20separate%20with%26nbsp%3Ba%20semi-colon.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERT%3C%2FP%3E%3CDIV%20class%3D%22metadata%22%3E%26nbsp%3B%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-308503%22%20slang%3D%22en-US%22%3ERe%3A%20Assign%20a%20task%20to%20multiple%20users%20-%20PowerApps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-308503%22%20slang%3D%22en-US%22%3E%3CP%3EYeah%2C%20the%20same%20thing%20happens%20for%20me.%20I%20haven't%20seen%20anything%20documented%20about%20this%2C%20but%20in%20everything%20I've%20tried%20-%26nbsp%3Bthe%20Flow%20%2F%20PowerApps%20connector%20for%20Planner%20just%20generally%20does%20not%20support%20multi-value%20fields%20yet.%20For%20instance%2C%20if%20you're%20querying%20tasks%2C%20you%20can't%20pull%20the%20'Label'%20or%20'Checklist'%20value(s)%20at%20all.%3C%2FP%3E%3CP%3EIn%20this%20case%2C%20you%20%3CEM%3Ecan%3C%2FEM%3Euse%20the%20Assignments%20field%2C%20but%20the%20label%20calls%20it%20out%20as%20a%20single%20user.%20I%20can't%20find%20a%20way%20to%20make%20it%20work%20at%20all%20with%20multiple%20values%20-%20neither%20by%20entering%20multiple%20lookups%20%2F%20values%20in%20the%20blank%20in%20various%20formats%2C%20nor%20by%20looking%20up%20a%20multi-value%20Person%20field%20from%20a%20SP%20list.%3C%2FP%3E%3CP%3EI%20hope%20they%20keep%20adding%20to%20the%20Planner%20connector.%26nbsp%3BPlanner%20is%20such%20a%20wonderfully%20simple%20tool%2C%20and%20they're%20not%20allowing%20customizations%20within%20it%20to%20keep%20it%20that%20way.%20It%20would%20be%20super%20helpful%20if%20we%20had%20more%20capabilities%20in%20Flow%20and%20PowerApps%20to%20talk%20with%20the%20rest%20of%20the%20data%20so%20that%20we%20could%20integrate%20it%20into%20more%20solutions.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2205302%22%20slang%3D%22en-US%22%3ERe%3A%20Assign%20a%20task%20to%20multiple%20users%20-%20PowerApps%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2205302%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F143041%22%20target%3D%22_blank%22%3E%40Sharif%20Alhennawy%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20took%20me%20way%20to%20long%20to%20figure%20out%20how%20to%20implement.%20Here%20is%20an%20example%20for%20anyone%20else%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-csharp%22%3E%3CCODE%3EPlanner.CreateTask(planID%2CtaggedLabVar%26amp%3B%22-%22%26amp%3BActionText.Text%2C%0A%20%20%20%20%7BbucketId%3AbucketID%2C%0AstartDateTime%3AUUID%2C%0AdueDateTime%3ADateValue5.SelectedDate%2C%0Aassignments%3AConcat(Assignees.SelectedItems%2CId%2C%22%3B%22)%7D)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAssignees%20is%20the%20Combo%20Box%20itself.%20Ignore%20the%20start%20date%20as%20a%20UUID%2C%20its%20just%20a%20value%20I%20made%20to%20use%20as%20a%20primary%20key%20for%20separate%20table.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi, 

 

I'm working on a project through PoweApps and I'd like to know how to assign a Task to multiple users at the same time using {assignments:} ?

 

already it's working with me with single users only !

5 Replies

Yeah, the same thing happens for me. I haven't seen anything documented about this, but in everything I've tried - the Flow / PowerApps connector for Planner just generally does not support multi-value fields yet. For instance, if you're querying tasks, you can't pull the 'Label' or 'Checklist' value(s) at all.

In this case, you can use the Assignments field, but the label calls it out as a single user. I can't find a way to make it work at all with multiple values - neither by entering multiple lookups / values in the blank in various formats, nor by looking up a multi-value Person field from a SP list.

I hope they keep adding to the Planner connector. Planner is such a wonderfully simple tool, and they're not allowing customizations within it to keep it that way. It would be super helpful if we had more capabilities in Flow and PowerApps to talk with the rest of the data so that we could integrate it into more solutions.

 

Hi there,

 

It's a semi-colon separated list of strings containing user ids or email addresses of the users to assign this task to.  To add more than one, just separate with a semi-colon.

 

Cheers,

 

RT

Hmmmm... that's one of the formats I tried, but it didn't work for me previously. When I tried again today, the Flow action includes placeholder text that documents that format - and it worked. #woohoo

The joys of evergreen :)

 

I saw a flow a while back that notified you when connectors were added and/or, presumably, updated - Might be worth digging into this a little more to keep track - I'm always finding things I can't do that are 'in the pipeline' and then I forget about them only to find a few months later they're in and working.

 

I once spent a week working on a Graph Planner connector to copy and migrate tasks and plans only to find out the Planner Connector had been out a month already ><

@Sharif Alhennawy 

 

This took me way too long to figure out how to implement. Here is an example for anyone else:

 

Planner.CreateTask(planID,taggedLabVar&"-"&ActionText.Text,
    {bucketId:bucketID,
startDateTime:UUID,
dueDateTime:DateValue5.SelectedDate,
assignments:Concat(Assignees.SelectedItems,Id,";")})

 

 

Assignees is the Combo Box itself. Ignore the start date as a UUID, its just a value I made to use as a primary key for separate table.