I am currently using Zapier to log edited task data into a Google Sheet. The Zap triggers if/when a task is edited within a particular project.
Within Zapier, it’s easy to get the task’s ID and other field data. It’s also technically possible to get a list of project IDs that it belongs to as well. Screenshot: https://i.imgur.com/ZcDgDHx.png
I’m using the Zapier “Code” action to output a list of those IDs. Screenshot: https://i.imgur.com/EWNC7zF.png
Basically, these Asana tasks would be in 4 different projects. I will always know the ID of 3 of those projects, and thus would like to omit those from the output. This will help me find and log the project ID of the new project that I’m looking for.
For example, if the project IDs that the task is within is:
How would I supply a list of the “known” IDs of 999,555,888 so that only 123 (the ID I won’t ever know) is the only one that is output within that code?
Sorry if this is confusing. Basically I just want to output all Project IDs of this edited task, that don’t match the ones that I supply in this code. In most cases, it should therefore only output 1 project ID.