I’m trying to solve common problem which is surprisingly wasn’t touched in the past (or I had no luck in my search). Please have a look:
The idea is to have a chance to edit data on the run between two components (I’ve taken Table Editor and If Switch from the second component to make the example easily readable).
I’d like to have a chance saving results of editing to TMP file - this part works fine - and in the future use saved data or use the data previously saved [node 1053]. It would be even better to have a third opportunity - to merge tables from the first component with a fresh data.
I can’t find appropriate node for this task.
Please guide me - I really did my best in search of the solution.
Thank you very much!
I have no difficulties with saving tmp file after Table editor, I’d like to have a chance manage the inflow to the Table editor.
That’s the real-life example:
First component in my sample translates snippets of web-search results.
Then I need to edit these snippets to make it more accurate and readable [that’s exactly what I’m doing with Table Editor]
When I complete editing, I save the data with a table writer and proceed to Component 2 which is responsible for some technical tasks, visualizing and adjusting results for later use.
My problem with this workflow that if I’d like to have a new search [execute the entire workflow] I obviously I will have new results and my edits will be lost. So, the idea is:
To have a choice if I use previously saved data [table reader] or results of the first component execution [minimum scope]
To have 3 different choices: 1. use fresh data, 2. use saved data, 3 use combination of previously saved and new results [structures of both tables are identical]
If you choose “Both” in the IF Switch, the old search results are taken and added to the new search results, and the combined result is saved again for the next use. New search results will always be added until you choose “Top” in the IF Switch; in that case the new search results will replace the old ones.