Get subtasks and check for value, if X is present stop, if not proceed - ClickUp

BRAND NEW TO MAKE so be gentle :slight_smile:
We are making an API call to ClickUp to get the task and its subtasks

We then want to check if one of the subtasks has a a value of X for the task name, if not we want to proceed and create the subtask that will have that task name. The scenario is listening for updates so when the Parent task is updated it will fire off the scenario. We have tried to add a filter and that works for the first pass if there was a subtask with Y and not X, but when it runs again that is also true as Y is not X. We want to check each subtask and then if X is present we do not want to continue.
We have tried an iterator and we can then get each subtask but unsure how to regroup as the aggregator may not be what we want to use.
I have tried looking through the community but not sure how to search for terms just yet. Any assistance is appreciated.

*Update 2023-01-30
we want to check each subtask and then regroup the answer, so if any of the subtasks 1,2, or 3 have X then FALSE. If not then proceed.

@Ant_DP :raised_hands:

Thank you for your post. We understand that you are new to making API calls and need help with a scenario. We are here to help. We would like to get more information from you to better understand your issue. Could you please provide us with more details about the subtasks you are trying to check and the filter you have used? We look forward to hearing from you and helping you out. Stay tuned for our community members to answer.

Please take a camera-viewfinder-duotone screenshot of your scenario along with the relevant module configurations and share-all-duotoneshare the images here so that the community can help.

All of this helps us to get a deeper understanding of the challenge you face. :make:

iterate through the subtasks then map the field to check in the text aggregator → do a condition to check if it contains x if true then create the task

1 Like