Understanding node state

A node on the flowchart can have one of the following states:

  • not configured,

  • not executed,

  • executed,

  • executed though not synchronized.

A node’s state represents whether you have:

For example, when we add the CSV Source node to the flowchart, it is automatically set to the "not configured" (not ready) state. When we configure the node in the next step, the node’s state changes to "not executed". It means the node has been configured and is ready for execution. When we execute the node in the next step, the node’s state changes to "executed".

Node state affects what you can do with a node. For example, you cannot execute nodes that are in the not configured state. You first need to configure the node so that its state changes from "not ready" to "ready". In order to view a node’s results, the node must be in the completed (executed) state.

When you configure a node, PolyAnalyst may prevent the node from entering the ready state if it finds that you configured the node incorrectly or only partially completed the configuration. In addition, if the node fails to successfully execute, the node may remain in the ready state.

How node state is represented on the flowchart

Each node’s state is represented by a small symbol in the lower left corner of its icon on the flowchart. A red cross represents the not configured state. A yellow exclamation point represents the ready state. A green checkmark represents the executed state. A blue question mark shows that the node is ready though not synchronized.

nodestatus

States may be informally referred to by color, i.e. red, yellow, green, and blue. For example, a green node refers to a node that has been executed.

Changing a completed node’s properties can affect its state

The general rule is that a node’s output must correspond to its current configuration.

Therefore, if you obtain some results from a node, and then later edit the node’s configuration, PolyAnalyst can no longer guarantee that the results correspond to the properties. The results are no longer said to be in sync with the configuration.

Therefore, when you reconfigure a node, PolyAnalyst deletes the older results and also reverts the node’s state from the completed state to either the ready or not-ready states.

However, there are notable exceptions to this general rule:

  1. Changing certain properties does not affect a node’s state. For example, changing the position of a node on the flowchart does not affect its state. Similarly, renaming a node or changing a node’s textual description does not affect its state.

  2. The other exception is as follows. In limited situations, nodes can enter into a fourth state that is denoted by a blue question mark on the flowchart. Such nodes are said to be out-of-sync or de-synced. This fourth state is similar to the completed state, in that the node provides results, but reflects that the node’s current results do not correspond to the node’s current configuration. Re-executing such nodes restores the proper state-correspondence.

Upgrading PolyAnalyst may affect node state

Nodes present in projects created in earlier versions of PolyAnalyst may appear with gray-colored icons on the flowchart. When a project is opened after an upgrade, certain nodes may no longer appear in the completed state. These nodes will need to be re-executed. In some cases, due to changes in the properties of various nodes, the nodes will require additional configuration.