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
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Would be neat if WF had an @here or @projectusers or similar.
In Fusion, 2 options:
Views
Replies
Total Likes
Would be neat if WF had an @here or @projectusers or similar.
In Fusion, 2 options:
Views
Replies
Total Likes
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:
Views
Replies
Total Likes
team is a reference you can use on the assignment, e.g. include team:name in fields - does that give you what you expect?
Views
Replies
Total Likes
Yes that gets me what I am looking for. Thank you.
Now the tricky part...can you add an array of people/teams to the Notify field in the Create/Note Module?
This is somewhat related, but the last post doesn't show how to apply an array:
https://experienceleaguecommunities.adobe.com/t5/workfront-fusion-2-0-questions/how-to-map-multiple-...
Views
Replies
Total Likes
You need to create the object it expects: "tags" is an array of objects that have the ID and whether it's a team or a user.
{
"tags": [
{
"objID": "ID of Team 1",
"objObjCode": "TEAMOB"
},
{
"objID": "ID of Team 2",
"objObjCode": "TEAMOB"
},
{
"objID": "ID of user 1",
"objObjCode": "USER"
},
{
"objID": "ID of user 2",
"objObjCode": "USER"
},
{
"objID": "ID of user 3",
"objObjCode": "USER"
},
{
"objID": "ID of user 2",
"objObjCode": "USER"
}
],
"objID": "ID of the task",
"noteText": "This is <b>the update</b>",
"noteObjCode": "TASK"
}
Views
Replies
Total Likes
Sven,
Thank you for this. Where exactly do I create the object (set variable?) and where do I paste the code? In the Notify area?
Keep in mind that the people being tagged on the Update will only be the Users and Teams on the project. Thank you for the help so far!
Views
Replies
Total Likes
before the module that creates the update you'd have to do the work to create the array of objects; then you click the "map" botton and set the "notify" field to that array. Something like below.
Views
Replies
Total Likes
Sven,
Getting closer, your instructions helped me get all of the assigned users tagged. Unfortunately there was one update posted per assignment. Two updates were even posted for one user since they were assigned twice.
How can I post only one update while tagging everyone assigned?
Views
Replies
Total Likes
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:
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
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.
Views
Replies
Total Likes
Sven,
That worked! Very insightful and helpful, THANK YOU!
You have once again helped me immensely in getting what I needed! Thanks again!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies