• Documentation
  • Workato Blog
  • Product Blog
  • Return to Workato
  • Login
  • Automation Institute
  • Documentation
  • Community Forums
New Topic
Discussions Recipe Building Recipe Building Questions
R

Ryan

started a topic over 5 years ago

Create and Append to a List

 

Hello,


Is it possible to create a list using the "List" utility, and then append to the created list using the "List" utility?


For example, my recipe will receive a list of Object IDs. I want to iterate through the IDs and perform an action once for each unique ID. If the list [123, ABC, 123, 123] is received, I only want to perform two actions (once for 123, and once for ABC).


Ideally I would like the recipe to be structured as follows...


1. Receive Object IDs

2. Create a List

3. For each Object ID, do the following

    i. If the List does not contain Object ID, do the following

        a. Perform action

    ii. Add Object ID to list

4. Stop Recipe

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 2022   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato
Topic views count