Nesting services in Warewolf allows you to build simple microservices and then bundle them into bigger and more powerful services.
Nesting also allows you to interact with other Warewolf servers for integration purposes or load balancing.
To nest a service, simply drag a service from the Explorer onto the workflow design surface, connect it up using the flow arms and map any relevant data in or out.
To execute the service asynchronously:
- Double click the service in the workflow to see the large view.
- Check the box that says Execute workflow asynchronously
NOTE: When executing, the parent workflow will make sure the service starts executing but will continue its operation after that. This means that the result of the nested service will not be mapped back into the parent. In debug, there will be no output for the nested service.