On Tuesday, delete all users assigned Team

Hi all, now I know this is probably/definitely doable via “Scheduling an API workflow” but I’m wondering if there’s another way to do it.

I have users who belong to a team for a week and then when it’s Tuesday I want to delete all the teams assigned to all users. Is this possible using a simple workflow?

This is as far as I’ve gotten but I can’t figure the rest out. Is this not trying to delete all users team’s? Or have I completely missed the point here?

Is this not trying to delete all users team’s? Or have I completely missed the point here?

Yes, from you image currently you’re trying to delete a list of Teams… (when my understanding of your question is that you want to delete a list of Users) - although you’re using the wrong workflow action for this regardless of what you’re trying to delete…

To delete a list of things you need to use the ‘Delete A List Of Things’ action (not a Delete A Thing action, as you’re currently doing).

In any case, in order to delete a list of Users you need to define that list, and that list must be a list of Users (obviously)… not a list of Teams.

So, without knowing exactly what you’re trying to do, I’m guessing that you actually want to delete a list of Users from a specific team… in which case you need to first define the team, and then the Users from it (how you do that will depend on how your database is structured).

Regarding how to do that on a Tuesday, there are various of ways to achieve that (they all involved using scheduled backend workflows), so it really depends on exactly what you’re trying to do as to what the best way to go about it will be.

Thanks for the detailed explanation @adamhholmes - I was probably unclear with my question.

Basically, I have users who can select a team from a dropdown list every week. On Tuesday, I want to reset every users team so they can choose a new team for the coming week.

But as you say I couldn’t achieve the Tuesday portion of that query that without involving a scheduled backend workflow.

This topic was automatically closed after 70 days. New replies are no longer allowed.