Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

double click on the block node, check off the checkbox next to atomic.

Image Removed

Image RemovedImage Added

When a block node is atomic it stops executing further nodes if a failure is encountered. You can experiment with this by toggling it on or off, patching the graph and re-executing.

...

The graph should look similar to the screenshot below


Image RemovedImage Added

We can test against two scenarios

...

Connect the other outcome to the original switch node. It should look like the screenshot below.


Image RemovedImage Added

other outcomes function like a default case statement. When the customerName is not john and the customerName is not null the other outcome will execute.

...

The set node should be arranged so it executes early. Your graph should look similar to the graph below.


Image RemovedImage Added

Double click the for node to edit it.

...

Your graph should look something like this

Image RemovedImage Added


Now let's call it using this body

...