An order does not know whether a job in the job chain has terminated successfully or with an error. An order knows only its own state (step in the job chain).
The color of an order in the order history is an interpretation of its state.
If the state of the order is an error_state of a job chain node at the same time, then it is assumed that a job in the job chain was faulty and the entry in the history is displayed in red. Otherwise the color of the order in the history is black.