Decision services from the embedded build service
Decision services can be built and deployed in the embedded build service when you trigger it from Decision Designer. These decision services are deployed to the decision runtime for execution.
The build, deployment, and execution processes involving the embedded build service and the decision runtime are composed of a series of tasks.
The following diagram shows a flow that uses the decision runtime for execution:

- A business expert authors decision artifacts in Decision Designer and shares the decision artifacts.
- Building and deploying a decision service is triggered from Decision Designer.
- The embedded build service builds a decision service and deploys a decision service archive with
metadata to the runtime service through its REST API. Decision service archives are deployed to the
decision runtime in the deployment space ID (deploymentSpaceId) named
embedded. The decision service is ready for execution. - The client application calls the decision service with one of the following methods:
- The client application connects to the decision runtime and calls the decision service by using the decision runtime REST API. For more information, see Calling decision services.
- You download the decision service archive from the decision runtime. The client application calls the decision service archive by using the execution Java API. For more information, see Executing decision services with execution Java API.