Why is my recipe creating duplicate records when I already added an IF condition?
I made a recipe to create a new asana task whenever a campaign status in Salesforce is changed to "Booked" . I want to make it in such a way that this recipe will only run if there isn't an existing task name with the same IO number in Asana. I already added an IF condition for it but somehow its still creating multiple tasks in Asana whenever the campaign is updated.
Best Answer
A
Amanda Wong
said
almost 7 years ago
Saul, the Search tasks action in Asana returns a list of search results. You will have to check the IF condition against each of the tasks returned from the Search output. Otherwise, only the first search result will be checked against the IF condition.
You can do that using a Repeat action and map the list data pill from the search step output as the list to be iterated through
Answer
Amanda Wong
said
almost 7 years ago
Saul, the Search tasks action in Asana returns a list of search results. You will have to check the IF condition against each of the tasks returned from the Search output. Otherwise, only the first search result will be checked against the IF condition.
You can do that using a Repeat action and map the list data pill from the search step output as the list to be iterated through
Saul Macht
Why is my recipe creating duplicate records when I already added an IF condition?
I made a recipe to create a new asana task whenever a campaign status in Salesforce is changed to "Booked" . I want to make it in such a way that this recipe will only run if there isn't an existing task name with the same IO number in Asana. I already added an IF condition for it but somehow its still creating multiple tasks in Asana whenever the campaign is updated.
Saul, the Search tasks action in Asana returns a list of search results. You will have to check the IF condition against each of the tasks returned from the Search output. Otherwise, only the first search result will be checked against the IF condition.
You can do that using a Repeat action and map the list data pill from the search step output as the list to be iterated through
Amanda Wong
Saul, the Search tasks action in Asana returns a list of search results. You will have to check the IF condition against each of the tasks returned from the Search output. Otherwise, only the first search result will be checked against the IF condition.
You can do that using a Repeat action and map the list data pill from the search step output as the list to be iterated through