Tagging All Users & Teams Assigned To A Project | Community
Skip to main content
Eric_D_Miller
Level 5
March 14, 2025
Solved

Tagging All Users & Teams Assigned To A Project

  • March 14, 2025
  • 1 reply
  • 918 views

Hello,

 

Is there a way in Fusion to create an Update/Note on a Project which tags all of the assigned Users and Teams?

I did some searching but couldn't find an answer

 

Thanks in advance

Best answer by Sven-iX

Would be neat if WF had an @1298763 or @projectusers or similar. 

 

In Fusion, 2 options: 

  • use the project's projectUsers collection - with the caveat that this will include people that WERE once assigned but are not necessarily directly involved anymore. See "Manage the Project Team"
  • To ONLY get folks with assignments, you'll need to 
    • get assignments based on projectID
    • get the user/team assigned
    • deduplicate the result

1 reply

Sven-iX
Community Advisor
Sven-iXCommunity AdvisorAccepted solution
Community Advisor
March 14, 2025

Would be neat if WF had an @1298763 or @projectusers or similar. 

 

In Fusion, 2 options: 

  • use the project's projectUsers collection - with the caveat that this will include people that WERE once assigned but are not necessarily directly involved anymore. See "Manage the Project Team"
  • To ONLY get folks with assignments, you'll need to 
    • get assignments based on projectID
    • get the user/team assigned
    • deduplicate the result
Eric_D_Miller
Level 5
April 29, 2025

Sven,

 

I am successful in gathering all of the User IDs that are assigned to the tasks in my project but I am having trouble getting all of the Team IDs.

Here is my ASSGN/search API call:

 

Eric_D_Miller
Level 5
May 13, 2025

Can't tell from here. 

It sounds like there is an iterator that goes over all assignments, does some work, and ends in the create-record module. 

 

Original response: 

  • get assignments based on projectID
  • get the user/team assigned
  • deduplicate the result

Make sure you're doing the saearch with a customAPI module - NOT a search module. Reason: search implicitely iterates over the result set. We only want the data, no iteration.

 

SO

  1. search for assignments in the project and get team:ID and assignedToID.
    By definition, an assignment is either a role, a team or a user
  2. this should get you a set of assignments where each has either the teamID or the assignedToID set.
  3. You feed the correct list of IDs into the respective Iterator that has the blanks removed and the list deduplicated
    1. the user iterator needs a list of unique userIDs.
    2. the team iterator needs a list of unique teamIDs

e.g. to get the userIDs 

{{deduplicate(remove(map(14.body.data; "assignedToID"); null))}}

The my above flow would generate the respective teams and users blocks to use for the notification.


Sven,

That worked! Very insightful and helpful, THANK YOU!

 

You have once again helped me immensely in getting what I needed! Thanks again!