I have an action that returns a list of objects like:
[{media: "email", "content": "test"}, {media: "sms": "content": "short text"}, ...]
Now I need to iterate through all list objects and run target action based on the values in media. For
the above example I need to get result().result and iterate through all and run email
action, sms
action, etc. Is this possible? Is there a better way of doing this in the
workflow?
In fact I have one result but many actions will be run based on the values present in media.
determine_media:
action: mypack.determine_media
input:
media: <% ctx().media %>
next: