Scenario to Remove Users from "People" When Unassigned Tasks | Community
Skip to main content
Level 2
March 13, 2026
Question

Scenario to Remove Users from "People" When Unassigned Tasks

  • March 13, 2026
  • 2 replies
  • 64 views

Hi all,

We have a lot of projects where assignments change often and sometimes entire teams are changed on a project, and thus people are unassigned tasks and others are reassigned. The challenge we’re facing is that when users are no longer assigned to tasks in a project, they remain in the “people” section (projectUsers), so the project still shows up in their dashboards and reports.

 

I thought I saw a scenario to remove users from the projectUsers when no tasks were assigned to them in that project, but I can’t find anything now and I’m having a tough time working through my own scenario for this. Has anybody created a scenario to do this and would be willing to share your blueprint?

 

Thanks!

-Steven

2 replies

Adobe Employee
March 13, 2026

Hi ​@StevenBr4,  My suggestion is use a search module to look at the “People/project Users” section of the project and cross reference the task assignments.

 

You would have to use a Custom API call module. 

 

Command:

In the URL field (without quotes) add “proj/IDGOESHERE?updates=”

 

Method=DELETE

 

Body: {"projectUsers":[{"userID":"IDGOESHERE"},{"userID":"IDGOESHERE"}]}

StevenBr4Author
Level 2
March 16, 2026

Yes, but I’m running into issues with how to cross reference those items. projectUsers does not supply the user ID, but rather is its own object to tie user and project objects together. I need a way to build a list of users with tasks assigned for each project, drill down into the user ID’s of each projectUser, then compare those to the list of users with tasks assigned.

This is also something I’m doing for hundreds of projects, so manually feeding one user ID and project ID at a time wouldn’t really be feasible.

IvanBebek-iX
Level 5
March 25, 2026

Hi ​@StevenBr4 ,

 

This was already saved and posted for adding the users, for reference please check this thread 

 

When you have to remove you have top adjust a request a little bit, when doing a post request to a PROJ url, please refer to the following screenshot (Note: attask/api-internal has to be used) 

 

Hopefully this helps. If you have any further questions please let me now.

 

Best regards,
Ivan