Hello,
I am trying to add a module(s) that will search a Project for every Task that contains a certain Role, and to then remove that Role from all of those tasks. Does anyone have a way of achieving this in Fusion?
Thank you
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
I haven't tested this but I would start with the search function and search assignments for that specific role ID and then updated it.
Views
Replies
Total Likes
Hi Kellie,
I was able to create a module to search for assignments but am unsure how to go about removing the role from those tasks. Can you direct me as to how?
Views
Replies
Total Likes
Hi @Eric_D_Miller,
If there is no reason otherwise to keep it, I suggest you consider the drastic but simple option of deleting that Role.
Regards,
Doug
Views
Replies
Total Likes
Hi, What is the long game here? Are you looking to remove that role from all existing tasks and never use it again? Then I would just delete it in the Roles area of Setup.
Are you looking to remove that role from certain projects on an ongoing basis? I think the solution depends greatly on the context of what you're trying to achieve in the long run.
Views
Replies
Total Likes
Essentially I am looking to remove the role from all tasks on the project if certain fields are selected.
I have a module set to search for assignments containing that role in the project already and the proper filters are set to ensure that the modules only process when certain fields are selected.
What don't know is how to unassign/remove the role from those existing assignments I searched for.
Views
Replies
Total Likes
The basics of what you probably need to do is:
Convert the assignment data into an array.
Iterate through the array of assignments and remove matching entries using the remove function something like this: remove(array of all assignments;value from iterator)
Disclaimer: I have added assignments to an array via the add function but never tried removing one.
I would also suggest asking this question in the Make.com community HERE. If you've never heard of Make, it's a commercial version of the automation tool from which Fusion is derived. Their community and learning materials are superb. I learned Fusion by completing the Make Academy training and using Make.
Views
Replies
Total Likes
Thank you for the assistance so far Randy. I will keep that resource in mind as Fusion is somewhat new territory for me.
If I can continue to pick your brain, which module should I utilize the 'remove function' in once I have my iterator working?
Views
Replies
Total Likes
Misc Action is what I'm using.
Here's a screenshot and a suggestion
Views
Replies
Total Likes
Views
Likes
Replies