π΅ Errors and Solutions
When creating an automation, you might encounter some errors due to issues with flow connections or component configurations.
In the editor, we identify scenarios where the flow cannot operate and display them in a window that opens via the yellow warning button on the right side of the top menu bar.
No Trigger
Section titled No TriggerIn the editor, each component can be executed one by one using the Run button. However, to run the all flow or to save the automation and run it in the background, at least one trigger must be added.
Multiple Triggers
Section titled Multiple TriggersAutomation is executed with only one trigger. More than one trigger should not be added.
Unconnected Nodes
Section titled Unconnected NodesA component can receive data either from another component or component widget. This setting is adjusted with the toggle on the right side of each input in the widget.
This error occurs if data is supposed to be taken from another component for an input, but no connections are made from it.
Unconfigured Nodes
Section titled Unconfigured NodesNext to each input, it is indicated whether it is mandatory. If it is mandatory, there is a red * sign. This error occurs if data is supposed to be taken from the widget for a mandatory input, but the field in the widget is empty.
Invalid End Iterator
Section titled Invalid End IteratorUnder the Control category, there is an End Iterator component. This component should be used with iteration components. It is used to abruptly end an iteration under certain conditions.
If the End Iterator component is not connected to an iteration component, it cannot be used.
Unreachable Nodes
Section titled Unreachable NodesThis error is common to several different scenarios. Let's address these scenarios:
"Not Found" and Other Outputs
Section titled "Not Found" and Other OutputsIn components that perform unique query, such as Get Task, Find Note, etc., there is an output named Not Found. This output is activated when no data meeting the search criteria is found. If there is data matching the criteria, the Not Found output becomes inactive, and other outputs become active. In this case, since both the Not Found and other outputs of the component cannot be active at the same time, connecting them to any component later in the flow will generate this error.
![not-found](https://assets.caisy.io/assets/5550fb17-438f-42c2-93da-4b7b1304cf41/004c489e-f353-4d24-9ab1-95e8b4f57503/b75788c4-997c-4bf7-b508-c72739d30305/nofound.png)
For example, in the above flow, the two inputs of the Set Entity Field component cannot be active at the same time.
Solution: Ensure that outputs that are not active at the same time are not connected in the flow.
Condition Outputs
Section titled Condition OutputsThere is a Condition component that allows incoming data to be evaluated based on a specified condition. Each output of this component becomes active when the condition is met.
![condition-output](https://assets.caisy.io/assets/5550fb17-438f-42c2-93da-4b7b1304cf41/806e5130-d51c-492c-b0d9-fbaac41aab3b/4180b334-4af2-4c34-9a57-ae8d9c3987d1/conditionoutput.png)
For example, according to the condition added in the above flow, either Exists or Otherwise will be active, so the Merge Entities component cannot run.
Solution: Ensure that outputs that are not active at the same time are not connected in the flow.
"Item" And "Done" Outputs
Section titled "Item" And "Done" OutputsIn iteration components, (Iterate List, Iterate Table, and Repeat) there are three different outputs: the main output, number, and done. In these components, the main output and number are active in each iteration, but the done output only becomes active when the iteration ends.
![item-done-outputs](https://assets.caisy.io/assets/5550fb17-438f-42c2-93da-4b7b1304cf41/74a2f780-31f3-41ab-8394-88b0b851aca6/f2ea53ce-ffdf-4b3f-8262-1cb1884edf07/itemdoneoutputs.png)
For example, above, the outputs item and done, which cannot be active at the same time, are connected in the Create Task component in the flow. Therefore, the Cubicl component cannot run.
Solution: Ensure that outputs that are not active at the same time are not connected in the flow.
Connection From Another Iteration
Section titled Connection From Another IterationIteration components repeatedly execute the node. Naturally, the rest of the flow does not proceed until the current iteration completes. Once the iteration ends, all data in that node is reset.
![another-iteration](https://assets.caisy.io/assets/5550fb17-438f-42c2-93da-4b7b1304cf41/be3e22c1-d4fb-469d-b001-85a2fe7ba6ac/42401532-431c-4bdd-810d-7a4a5e404ee5/anotherloop.png)
Letβs look at the flow above. The Iterate List component processes all the inputs in the list. After this, the flow moves to the Iterate Table component. At this point, the first input of the "Create Task" component will be empty because the data in the Iterate List block has been reset. Consequently, even if the other inputs are ready, the Cubicl component cannot function because its first input is not available.
Solution: The Iterate Table component should be executed first in the flow. If it provides data that will be used in the iteration, this data should be stored using the Set Named Value component.
Data from Iteration Outside Component
Section titled Data from Iteration Outside ComponentIteration components repeatedly execute the node, and when the process is completed, all data in that node is reset. Therefore, all connections within the node must be established.
![data-from-iteration](https://assets.caisy.io/assets/5550fb17-438f-42c2-93da-4b7b1304cf41/c3f52a35-ff00-462c-a38e-45c7192b9c59/8e36f6ab-6bb5-4f52-a81d-6db8428f98f4/datafromloop.png)
For example, in the flow above, flow number 1 runs first. When we reach the Create Task component, one of its inputs needs to come from flow number 2. However, since flow number 2 has not been executed before the iteration node ends, the Create Task component cannot run.
Solution: Since all connections in the iteration node must be established, the order of the flows needs to be changed. Click on the connections having numbers to open the connection detail window. From there, change the number of flow 2 to 1.