Skip to content

When to use ExecKernel

ExecKernel is most useful when an application needs to guide someone or something through a process with different possible paths. The value of using a graph is not that it replaces ordinary conditional statements. It is that you can describe the process as a whole, keep its execution separate from the rest of the application and evaluate each transition against the same set of navigation rules.

Consider a supplier onboarding form. If everyone provides the same details, reviews them and submits the form, a simple sequence of screens may be all you need.

Now suppose the application supports domestic and international suppliers, and some applications require additional documentation before they can be reviewed and submitted. The steps that follow a decision depend on the information provided so far. The application must also remember which step each supplier has reached if they leave and return later.

Comparison of two supplier onboarding processes. A fixed sequence goes from Details to Review to Submit. A branching process goes from Details to Supplier type, then through Domestic details or Additional documents, with both branches leading to Review and Submit.

The examples illustrate different levels of routing complexity; they do not represent built-in supplier validation.

This is where a graph can help. Each possible step is represented by a node, and the connections between nodes describe the allowed transitions. Conditions on those connections express when a particular path is available. The engine can evaluate these conditions using the data associated with each execution, so the application does not have to reconstruct the routing logic separately every time it displays a screen or handles a navigation request.

You still need to decide what the process should do and how to obtain the information it requires. A graph may direct an application to a review step; it does not perform the review on your behalf. ExecKernel also provides ways to store and restore sessions, so you can resume a process when persistence has been configured.

The number of screens is not a reliable rule for deciding whether to use the engine. A process with many predictable steps can be simple to maintain, while one with only a few steps and several interacting conditions can benefit from explicit graph-based navigation.

Look at the part of your application that determines how the process progresses. If several of the following needs are important, ExecKernel is worth considering.

  • Branching: the next step depends on choices, input data or information collected earlier.
  • Consistency: different interfaces or endpoints must enforce the same navigation rules, rather than duplicating them.
  • Continuity: a process needs to be resumed with its previous state and history intact.
  • Change: the order of steps, conditions or possible outcomes needs to evolve without scattering changes across interface and controller code.

You can explore three different applications of this idea in the Showcase:

Application What to explore
Technical Support How answers guide a user through different diagnostic paths.
Returns Center How a return process presents different paths and outcomes.
Product Configurator How a guided configuration process leads to a product outcome.

These applications demonstrate the engine as one part of a larger solution. You can interact with them without installing ExecKernel.

For a fixed form or a straightforward operation with a couple of conditions, introducing a graph definition, a session and a separate execution component may create more work than it saves. Conventional application code can be the clearer choice.

If your primary requirement is to schedule jobs, manage a distributed queue or coordinate services with automatic retries and compensation, choose an orchestration tool designed for those responsibilities. ExecKernel supports events, integrations and webhooks, but its central role is graph navigation, not general-purpose distributed workflow orchestration. It is also not a substitute for application-level access control or transactional business operations.

You do not need to replace an application’s entire architecture to use ExecKernel. A useful starting point is to identify one self-contained process whose routing is difficult to maintain, model that process as a graph and leave the rest of your application as it is.

If that fits your needs, choose an installation method and try the engine with a small graph.