Route recursive function calls to Process_MultiLevelBOM

Recipe Tools

What it does

When a function call arrives, this automation evaluates whether it matches Process_MultiLevelBOM. If it does, the automation invokes that function asynchronously to handle nested bill of materials structures.

Who it's for

Engineering teams who need to process complex product hierarchies without manual intervention.

How teams use this

Process nested product structures

Handle bills of materials with multiple levels of sub-components by calling the function recursively until all levels are processed. The automation manages the nesting without manual steps.

Expand to other recursive functions

Add conditions to check for other function names and route them to their respective handlers. The same pattern works for any recursive process that needs branching logic.

Route to different teams based on function type

Send notifications to manufacturing or procurement teams when specific functions are called, so the right people know when a bill of materials is being processed.

How it works

  1. Receive a function call. A function call arrives in real-time with details about which function to execute and what data to process.
  2. Check the function name. Evaluate whether the incoming function call matches Process_MultiLevelBOM so the automation knows which path to take next.
  3. Call Process_MultiLevelBOM asynchronously. Invoke the Process_MultiLevelBOM function in the background so it can recursively process nested bill of materials levels without blocking other calls.