Append with items results transform action
Seamlessly integrate "With Items" task results into your original list.
Last updated
Was this helpful?
Was this helpful?
collected_list: [
{
result: {
result: ["golf", "reading"]
}
},
{
result: {
result: ["cooking", "music"]
}
},
]base_list: base_list
collected_list: collected_list
attribute_name: hobbies{% set normalized_list = [item.result.result for item in my_collected_list] %}
{% for list_item in normalized_list %}
{% do my_base_list[loop.index0].update({'hobbies': list_item}) %}
{% endfor %}results: [
{
name: "John",
age: 30,
hobbies: ["golf", "reading"]
},
{
name: "Mary",
age: 35,
hobbies: ["cooking", "music"]
},
]