Expand my Community achievements bar.

SOLVED

Is there a way to compare values in different bundles of webhook output?

Avatar

Level 3

I've asked similar questions in the past. I'm still trying to find ways to keep a scenario from running more than once on the same object. If I have a webhook output that looks like this:

gardensurfer_0-1727836138460.png

is there any way to compare the id of the first bundle with the id of the 2nd bundle before moving onto the next module? It would be great if I could get my scenario to determine if the object is the same in both bundles and allow me to consolidate the execution to just one rather than 2. 

 

I am guessing Fusion just doesn't work that way - does each bundle get processed serially before getting to the next one? I thought I'd ask.  Thanks!

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Level 5

This took me forever to figure out but hopefully this helps

 

Flow is as follows

Bundles of info -> get valuelist -> filter (current bundle not in valuelist) -> set valuelist += value -> non-dupe bundles do stuff

 

Lawson02_5-1727905940325.png

Bundles

Lawson02_0-1727905536828.png

Get valuelist

Lawson02_1-1727905548527.png

Filter bundles

Lawson02_3-1727905595510.png

Set valuelist with bundle

Lawson02_4-1727905610188.png

View solution in original post

2 Replies

Avatar

Correct answer by
Level 5

This took me forever to figure out but hopefully this helps

 

Flow is as follows

Bundles of info -> get valuelist -> filter (current bundle not in valuelist) -> set valuelist += value -> non-dupe bundles do stuff

 

Lawson02_5-1727905940325.png

Bundles

Lawson02_0-1727905536828.png

Get valuelist

Lawson02_1-1727905548527.png

Filter bundles

Lawson02_3-1727905595510.png

Set valuelist with bundle

Lawson02_4-1727905610188.png

Avatar

Level 3

Cool solution @Lawson02 . Now to see if I can apply this to my use case. Thanks!