Nelkap comes to your app
Your workflows run in your app, on your servers. When a run is due, Nelkap calls your endpoint. The SDK answers at once, then runs the workflow in the background.Every step is saved
Each time a step finishes, the SDK sends its result to Nelkap. Nelkap keeps it with the run.A run picks up where it stopped
Each call runs your workflow from the top, along with the steps already saved. A saved step returns its result at once, without running again. The code moves past them until it reaches a new step, and carries on from there. Here is what happens to theonboardUser workflow from the quickstart:
- Nelkap calls your app.
profileruns and is saved. The sleep is saved, and the call ends. - A day later, Nelkap calls again.
profilereturns its saved result. The sleep is over.welcomeruns, and the run completes.