• DOCUMENTATION
  • WORKATO BLOG
  • PRODUCT BLOG
  • Return to Workato
  • Log in
  • ☰
  • Community/Discussions
New Topic
Discussions Recipe Building Recipe Building Questions
S

Saul Macht

started a topic almost 5 years ago
Answered

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 5 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 5 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

Login to post a comment

Still can't find your solution?

Send us a ticket, we will try our best to assist you with your problem

Documentation
Developer's Library
Tutorials
eBooks
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
© Workato 2020   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato
Topic views count