Assigning multiple users to a task via fusion | Community
Skip to main content
JennySt5
Level 2
April 30, 2025
Solved

Assigning multiple users to a task via fusion

  • April 30, 2025
  • 2 replies
  • 1249 views

I know this has been asked before, but I didn't find any of the answers worked so I am bringing it up again.

 

As the subject says, we are using a scenario to assign multiple users to a task. The basic create task module only accepts a single user ID. Updating the task with another "Assigned To ID" seems to only replace the assignment, not add to it. 

 

Multiple people suggested using the misc action module, selecting task, then "assignMultiple" which seems pretty straightforward, but I keep getting errors. According to the module, userIDs and roleIDs are required, but I can pass "emptyarray" for the roleID.  Attaching a screenshot of the error I get, I'm not sure what it's referring to.

Best answer by Lawson02

I would recommend using Dev Tool -> Scenario debugger to see what is going on behind the scenes. Your problem was that you did not check the map button. The empty array was going inside of an array.

 

 

2 replies

ChrisStephens
Community Advisor
Community Advisor
May 1, 2025

Is it because your second entry in the userIDs array is blank?

JennySt5
JennySt5Author
Level 2
May 1, 2025

I should have taken a different screenshot, no, it does the same thing when I make sure the variables have are all populated

JennySt5
JennySt5Author
Level 2
May 1, 2025

Ah, I finally got it to work. I'm posting a pic here to help any future people with this issue.  There may have been a couple things that finally helped. 1. at some point I added null to the bottom teamid in case it also needed data, but I ended up taking it back out for this version.

2. I think the main issue was that for the teamIDs, I had been trying to pass the individual ids. Finally I turned the ids into an array, which I first tried mapping and pointing to, which it also didn't like (see below/above).  So I turned the mapping off but pointed to the objects in the array and that finally worked.

 

Level 3
August 19, 2025

Hi Jenny,

Even I have a similar requirement to assign multiple teams to a task.

 

I'm doing the same thing but still getting below error.

[422] Invalid Parameter: teamAssignments value "exception.invalidparameter". teamID is invalid.

 

If possible could you share your array list syntax of ID's ?

 

Thanks,

Sagar.

Level 3
August 25, 2025

Hi, it turns out that it wasn't as complicated as I thought, but if any of the parameters were wrong, it caused an error. This simplified version shows everything in place.


Thanks Jenny for the response.

 

Are you adding these ID's dynamically or manually added these ID's to Misc Action module?

 

I'm passing array of TeamID's and getting error.

 

And below is the sample array of TeamIDs.

        "teamIDs": [
            "123, 123, 123, 123, 123"
        ],

 Thanks.