• Documentation
  • Workato Blog
  • Product Blog
  • Return to Workato
  • Log in
  • ☰
  • Solutions
  • Forums
  • Tickets
New Topic
Discussions Q & A Recipe Building
R

Ryan

started a topic over 1 year 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

Amanda Wong

said over 1 year ago
Duplicate

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
Expert Hour
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
Workato 2018 © | Privacy | Terms | +1 (844) GO-WORKATO
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato