Is there a way to compare values in different bundles of webhook output? | Adobe Higher Education
Skip to main content
gardensurfer
Level 3
October 2, 2024
Beantwortet

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

  • October 2, 2024
  • 1 Antwort
  • 625 Ansichten

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:

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!

 

 

 

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von Lawson02

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

 

Bundles

Get valuelist

Filter bundles

Set valuelist with bundle

1 Antwort

Lawson02
Lawson02Antwort
Level 6
October 2, 2024

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

 

Bundles

Get valuelist

Filter bundles

Set valuelist with bundle

gardensurfer
Level 3
October 11, 2024

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