I have a following flow.
- I have a webhook that get’s the invoice nr.
- I have an API call that gets the list of: unique ids and their parameters.
I want to make change to a list of things based on these values.
How should I change a list of texts (unique ids) into a list of activites where I want to change their parameters 1:1 like in the json respond I get from the call.
How to refer to activities list based on the thing I have received.
Example:
I get a JSON with data:
[{
“main element”: “uniqueid”,
“parameter1”: 46.39,
“parameter2”: 643,
“parameter3”: 330
}, …]
And want to make changes to uqniue id and change parameters accordingly.
here is how you do it using make changes to a list operator:
Type of things: activities
Data source: do a search for activities (where JsonData each item unique id contains this activaty 'unique id ) : first item
and change the fields accordingly
parameter1 = JsonData filtered ( where this JsonData unique ID is This activity’s unique ID
…
1 Like
@Codebyjamal
So that would mean I have to do a loop to make this happen?
As I am looking how to avoid it, as it is going to be more costly than going through make a change to a list, correct me if I am wrong.
/ or you mean that when I refer to first item it will always assign the proper one to whole list.
I think I have it. Thanks for the advice. I am here and now I will test it on live version as I cannot emulate some of the calls. But let’s see. Keep fingers crossed.

OK, it’s not a proper solution.
It has broke my system very hard and had to redo a lot of work 