How to efficiently schedule API workflow on a list of comma-separated values to create new items in the database without using recursion?
I’ve been working on creating multiple new items in my database from a list of comma-separated values. I previously set up a recursive workflow that splits the values and processes them one by one, which works but isn’t workload unit efficient.
Now, I’m trying to use “Schedule API Workflow on a List” to improve efficiency, but I’m running into issues. The values from my comma-separated list (e.g., Item1, Item2, Item3
) are still being treated as a single string, and my workflow is spitting back values like “Item 1, Item 2, Item 3” as one item, rather than creating separate entries for each.
Has anyone encountered this? What’s the best way to split and schedule API workflows on a list of comma-separated values without using recursion, while ensuring each value is processed individually to create separate database entries?