Workflow Engine

Microservices are rarely expected to be composed of a single API or script and are more likely to implement complex business logic to define, coordinate, and manage the execution order of multiple interdependent tasks. Neptune DXP allows you to organize complex executions, using Neptune DXP’s Workflow Engine to orchestrate multiple scripts into a coherent sequence.

For example, if you are developing the service interface of a Neptune DXP microservice you could express the detailed design of the API as combinations of script-driven tasks, workflows, and scheduled jobs. From a developer’s perspective, the microservice’s code is organized according to the workflow eliminating a significant amount of JavaScript boilerplate to deal with cross-cutting concerns such as branching, call-backs, exception handling, etc. This reduces the development time and provides focus on the business requirements when implementing functions. Over time repeatable patterns should emerge resulting in re-usable workflow orchestration patterns to be re-applied to new microservices.

Learn More

Look at the Microservice Workflow Case Study for a more in-depth explanation.