# Machine step

### ![](https://529897662-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-okmZWg6nZUajak6A3%2F-M-okwRTn49-CDu2CaCx%2Fhelp_root_applications_workflow_icons_machine-step.png?alt=media\&token=0512bd8c-3f23-4965-a561-eb0da8e0de85)  <a href="#machine-step" id="machine-step"></a>

A machine step is used to read or write data from/to other systems, or to modify the variables in a workflow. Machine steps are invisible to the operator except when something goes wrong (e.g. the ERP system responds with an error message). If a machine step goes wrong, the operator gets an error message and is transported back to the most recent user step.

Machine steps that potentially modify data in another system are called *non-reversible*. Incoming connections to non-reversible machine steps are adorned with an orthogonal line indicating that an operator will not be able to user the back button in the flow client once this step has been successfully executed.&#x20;

![](https://529897662-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-okmZWg6nZUajak6A3%2F-M-okzlB1or6clqsLaoV%2Fhelp_root_applications_workflow_images_non-reversible-machine-step.png?alt=media\&token=4a511de0-5028-4ef0-af70-f01cc6acca39)

Avoid consecutive non-reversible Machine steps, because each machine step is executed atomically (in its own transaction), any changes to underlying systems are committed as soon as the step is completed. Therefore, in case a transaction has already been committed, the Flow Client cannot go back to the previous user step without risking data inconsistency. If this happens, the operator is forced to exit the workflow right away.

In the example below (see picture), the operator would be forced to exit the workflow if machine step **B** executed successfully but machine step **C** failed.&#x20;

![](https://529897662-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LtPTgZOYmpJka4jqs1v%2F-M-okmZWg6nZUajak6A3%2F-M-ol7KB9HmhTmIFTU2E%2Fhelp_root_applications_workflow_images_non-reversible-double.png?alt=media\&token=59392034-b43a-44d9-be9d-57910f1ebe94)

#### Connectors: <a href="#connectors" id="connectors"></a>

Read more about connectors [here](https://help.novacuraflow.com/development/flow-studio/connectors).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.novacuraflow.com/development/flow-studio/applications/workflow/machine-step.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
