Class ReturnsWorkflow
java.lang.Object
com.example.workflows.ReturnsWorkflow
A returns desk whose steps include the function tools of
ReturnsWorkflow.OrderSystem. A routing map sends
each group of statuses, matched with anyOf, to the tool that handles it, and declines any
other status.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA mock order backend whose tools the returns workflow runs as graph steps. -
Method Summary
-
Method Details
-
create
Builds the workflow. It calls no model. -
main
Runs the workflow on three orders and prints each step's output.
-