simple task removal project | Community
Skip to main content
Level 2
March 4, 2025
Solved

simple task removal project

  • March 4, 2025
  • 1 reply
  • 675 views

I am working on a project to remove three tasks based on a selection option on the project. if the selection is "What type of template change is this?" = "Minor" then three tasks are to be removed from the project. So when the user creates this project and selects that choice then fusion removes three tasks from the project. "Reg review, Legal Review, Peer Review". I started with a search module looking for projects created with a specific template, then used a read module to gather the data, then i need to point to the choice on the project. i'm thinking i may need a switch module for the choice. Any help would be appreciated.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sven-iX

Hi @amazingjameso 
Here is what I would do:

  • Use templateID and templateTaskIDs to identify the respective projects/tasks
  • Set the vars up front
  • Search for projects and include the tasks collection, specify ID and templateTaskID
  • make a list of all the found tasks
  • iterate through the list and filter by one of the taskIDs
  • delete task

 

1 reply

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

Hi @amazingjameso 
Here is what I would do:

  • Use templateID and templateTaskIDs to identify the respective projects/tasks
  • Set the vars up front
  • Search for projects and include the tasks collection, specify ID and templateTaskID
  • make a list of all the found tasks
  • iterate through the list and filter by one of the taskIDs
  • delete task

 

Level 2
March 4, 2025

Thanks Sven! i found out that after the project is created there is a task in the project and in that task is a section where the user would check an option and based on that choice the three tasks would be removed, so im thinking a trigger for a watch event after the project is created there is a change to a particular field.

Sven-iX
Community Advisor
Community Advisor
March 4, 2025

Ah yes - even easier! 
then you don't need the template ID, just the template Task IDs (safer in case someone changes the task names)
Yes WatchEvents module there DE:SpecialField = changed and has that value you seek.