State transition examples

Here are some examples of how flows can move through states:
Starting a flow
When you successfully start a flow for the first time, a flow transitions through the following states:
(EDITED)... STARTING... RUNNING
When you start a flow for the first time but it cannot start, the flow transitions through the following states:
(EDITED)... STARTING... STARTING_ERROR... START_ERROR
Stopping or restarting Data Collector

When Data Collector shuts down, running flows transition through the following states:

(RUNNING)... DISCONNECTING... DISCONNECTED
When Data Collector restarts, any flows that were running transition through the following states:
DISCONNECTED... CONNECTING... STARTING... RUNNING
Retrying a flow
When a flow is configured to retry upon error, Data Collector performs the specified number of retries when the flow encounters errors while running.
When retrying upon error and successfully retrying, a flow transitions through the following states:
(RUNNING)... RUNNING_ERROR... RETRY... STARTING... RUNNING
When retrying upon error and encountering another error, a flow transitions through the following states:
(RUNNING)... RUNNING_ERROR... RETRY... STARTING... RUNNING... RUNNING_ERROR... 
When performing a final retry and unable to return to a Running state, a flow transitions through the following states:
(RUNNING)... RUNNING_ERROR... RUN_ERROR
Stopping a flow
When you successfully stop a flow, a flow transitions through the following states:
(RUNNING)... STOPPING... STOPPED
When you stop a flow and the flow encounters errors, the flow transitions through the following states:
(RUNNING)... STOPPING... STOPPING_ERROR... STOP_ERROR