Append with items results
Seamlessly integrate "With Items" task results into your original list.
Last updated
Was this helpful?
Seamlessly integrate "With Items" task results into your original list.
Last updated
Was this helpful?
You're dealing with nested data structures and need to extract results from tasks ran With Items into your original list. You want a unified, easy-to-manipulate list that includes all necessary data.
The Append With Items Results
transform enables effective incorporation of "With Items" task results into your original list. It bridges the gap between the collected results and the original list, making your data manipulation tasks simpler and more efficient.
Base List
This is the main list to which you want your collected results to be appended.
Collected List
This is the list of results from your completed With Items
task, from which the nested result.result
attribute will be extracted.
Attribute Name
This is the name you'd like to set for the new attribute to be appended to the Base List
.
The below scenario will attempt to illustrate how the Process With Items Results
transform can be utilized to simplify With Items
results collection.
Assume we have a base list called base_list
:
And we ran a With Items
task against this list to collect additional data from these items that's stored in a new list called collected_list
that includes result.result
attributes like this
We want to extract the result.result
list from each item in the collected_list
and append it to each corresponding item in the base_list
as a new attribute named hobbies
.
After processing, your results will look like this:
Remember to carefully specify your Collected List
, Base List
, and Attribute Name
to ensure a successful transformation.