Code to Production · Part 3 of 5

Deploy: How Does a Change Get into Operation in a Controlled Way?

For Decision-Makers

The question: Who decides when a change goes live, and how can the company respond to problems?

Why it matters: A reviewed software version can disrupt a business process through wrong settings, insufficient permissions or data changes.

The decision: Agree on approvals that fit the risk, and for relevant changes require a realistic way back for both application and data.


The new assignment function for ServiceFlow exists as a reviewed software package. Now it is to be made available to employees. This step is called deployment: a specific version is provided in a target environment and started with the right settings.

The build answers what was produced as a package. Deployment answers where and under which conditions this package runs. Both answers must fit together. A new, uncontrolled build on the production server could produce a different result than the package that was reviewed before.

Why Environments Are Separated

In a development environment, people work on changes. In a test environment, it is checked whether a version meets the agreed requirements. The production environment supports the actual business process.

This separation reduces the risk that a change that has not yet been reviewed, or an experiment, affects daily work. It also makes permissions and data access easier to control. Environments must be comparable enough for tests to remain meaningful. They do not, however, need to have the same size or the same data.

For ServiceFlow, synthetic test orders are a sensible starting point. Real production data should not be copied into test systems merely out of convenience. Which exceptions are possible depends on the specific protection needs and the agreed procedures.

Settings Are Part of Operational Readiness

Depending on the environment, the same software version needs different settings. A test environment can use a different database address than production. Credentials and keys, often called secrets, must be especially protected.

Responsibility does not end with choosing a secret store. It must also be clear who may read, change and, in an emergency, replace credentials. An application should only receive the rights it needs for its task.

Our position: Production changes need a traceable path with restricted permissions. AI can prepare changes but should not receive write access to the production environment.

Standardisation Instead of Manual Work

Infrastructure and deployment can be captured in versioned descriptions. Infrastructure as code means that infrastructure is described and managed through reviewable configuration files. A team can thereby discuss planned changes before they are executed.

GitOps follows a related idea for the desired state of an environment: a versioned description serves as the basis against which the running environment is reconciled. Tools such as Terraform for infrastructure or Argo CD for GitOps on Kubernetes can support such procedures. They are different tools for different tasks and not a prerequisite for every application.

The economic question is whether a standardised path is used often enough and maintained reliably. Automation can ease recurring work. But it also creates setup, security and maintenance effort of its own.

A Way Back Must Account for the Data

Suppose ServiceFlow gets a new data field for the time of the last response. If an error shows up after deployment, an earlier application version could be started again. Such a rollback, however, only works if that version can handle the data state that has changed in the meantime.

If data was deleted or stored in a new form, resetting the application may not be enough. Restoring from a backup, in turn, can mean that orders captured since the backup are lost.

That is why the way back must be planned before a relevant change: Which application version is available? Are database changes backward compatible? Who decides whether to roll back or to fix the problem going forward? What effect does this have on work in the business department?

Not every change needs the same depth of approval. A small, well-tested adjustment can follow a standardised procedure. A large data restructuring may need a separate business and technical decision.

What Remains

A deployment is a controlled transition between a reviewed package and actual operation. Version, settings, permissions and data changes must be considered together. A service that starts successfully, however, only shows that the deployment worked at first.

How we recognise whether ServiceFlow also fulfils its purpose in everyday use is the topic of the next article on operations. Back to the series overview.